Change PHP Version and Customize PHP Options and Extensions

CHANGING THE PHP VERSION

QTH.com servers support multiple versions of PHP. To change the PHP version used for your account, follow these steps:

  1. Log in to cPanel.
  2. In the Software/Services section of the cPanel home screen, click Select PHP Version.
  3. 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.
  4. 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:

  1. Log in to cPanel.
  2. In the Software/Services section of the cPanel home screen, click Select PHP Version.
  3. 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.
  4. To change PHP directives / settings, click Switch to PHP Options.
  5. 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.
  6. 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.

the Software/Services section of the cPanel home screen, click Select PHP Version.
  • 2 Users Found This Useful
Was this answer helpful?

Related Articles

Seeing list of files, not home page

Like all linux-based web servers, your 'home page' must be named index.htm or index.html,...

Add-on Domains

Most of our web hosting packages allow you to have multiple domain names. The additional domains...

Parked Domains

Most of our web hosting packages allow you to have multiple domain names. The additional domains...

Setup E-mail Forwarding

The process of setting up e-mail forwarding depends on whether you are using the free e-mail...

Get Web Hosting and EMail Instructions resent to you

When you first signed up for Web Hosting service with QTH.com, you would have received an email...