Skip to main content

Smallsite Design

Online setup help

8. Configure PHP

Smallsite Design uses the PHP programming language, but it needs to have the correct version and other settings.

Steps

[Notes] indicates that the step has learning notes. Click Learning to show all of them. Click [Notes] to show the step's notes.

To configure PHP for use with Smallsite Design:

1If not already, log into your cPanel console

2Specify PHP version

by performing:

2-1Select version

by selecting an option from the Current PHP version dropdown list.

The available extensions for the version are displayed.

2-2Make current

by clicking the Set as current link next to the version.

3Enable PHP extensions  [Notes]

by performing:

3-1Enable extension  [Notes]

by clicking on one of the dom, gd, intl, xsl or zip checkboxes.

The curl, simplexml and xml extensions will not be shown as they should automatically be part of the PHP installation. If the Smallsite Design installation shows a Fail for one of more of these, select another version of PHP. Otherwise lodge a support ticket with your hosting provider as to why those extensions are not available.

A short dot animation will lead up to a Success message box being displayed at the top of the page. The message box will disappear after a few seconds.

3-2Complete enabling

by clicking the checkbox for each of the remaining required extensions.

4Specify options  [Notes]

by performing:

4-1Show options

by clicking on the Options link at the top of the page.

The list of options is displayed.

4-2Disable remote data access

by unchecking the allow_url_fopen option.

A short dot animation will lead up to a Success message box being displayed at the top of the page. The message box will disappear after a few seconds.

4-3Hide PHP details  [Notes]

by unchecking the expose_php option.

Preventing knowledge of whether a site runs on PHP or which version of it may help to mitigate against attacks on the site.

A short dot animation will lead up to a Success message box being displayed at the top of the page. The message box will disappear after a few seconds.

4-4Enable compression  [Notes]

by checking the zlib.output_compression option.

Compressing pages and resources being delivered by the site can substantially reduce site bandwidth and enable a faster and cheaper experience for some mobile users.

A short dot animation will lead up to a Success message box being displayed at the top of the page. The message box will disappear after a few seconds.


Manage         Help   Powered by: Smallsite Design©Patanjali Sokaris         art-p  3  0  2021-11-21-13-58-54