CHANGING THE PHP VERSION
QTH.com servers support multiple versions of PHP. To change the PHP version used for your account, follow these steps:
- Log in to cPanel.
- In the Software section of the cPanel home screen, click Select PHP Version.
- To change the PHP version, in the PHP Version list box, select the version that you want to use, and then click Set as current.
- The new PHP version takes effect immediately.
CHANGING PHP SETTINGS & EXTENSIONS
In addition to changing the PHP version from cPanel, you can change various PHP settings. You can enable and disable PHP extensions, as well as configuration directives such as allow_url_fopen, auto_prepend_file, display_errors, error_reporting, max_execution_time, memory_limit, upload_max_filesize and many others.
This feature removes the need to configure and maintain custom php.ini files. Instead, you control all PHP settings directly from cPanel.
To change your PHP settings, follow these steps:
- Log in to cPanel.
- In the Software/Services section of the cPanel home screen, click Select PHP Version.
- Select which extensions you want to enable or disable for the current PHP version, then Click Save to save the extension settings at the bottom of the screen OR to reset the extension list to the default configuration, click Use Defaults.
- To change PHP directives / settings, click Switch to PHP Options.
- Click the value next to the setting that you want to modify. Depending on the type of setting, a list box may appear with predefined settings that you can choose. Or, a text box may appear so you can type the value. Make your change, then Click Apply, and then Click Save to save the settings.
- NOTE: When you modify a setting, the value turns yellow to indicate that it has been changed. When you save a modified setting, it turns green to indicate that the value is different from the default value. If you reset a setting to its default value, the color returns to gray.
The new PHP settings take effect immediately.