Change PHP Version and Customize PHP Options and Extensions

CHANGING THE PHP VERSION

QTH.com servers allow you to easily change the version of PHP that your hosting account uses. To upgrade or downgrade the PHP version used for your account, follow these steps:

  1. Log in to cPanel.
  2. In the Software 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.

NOTE: You can upgrade or downgrade PHP versions at any time.  If you find that a certain version of PHP does not work for you, you can change to the previous version of PHP, or any other version of PHP. The change takes effect immediately (although if there are current PHP processes running, it will wait until all of those processes complete, before switching to the new version of PHP).

CHANGING PHP SETTINGS & EXTENSIONS / MODULES:

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.

 

  • 7 Kasutajad peavad seda kasulikuks
Kas see vastus oli kasulik?

Seotud artiklid

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...

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...

AWStats Statistics - Definitions

Here is a link to a page that defines each of the terms in AWStats, including Unique Visitor,...