This article describes how to change the PHP version, settings, and loaded extensions in cPanel using the PHP Selector.

 

Changing the PHP version

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

  1. Log in to cPanel.
    If you do not know how to log in to your cPanel account.
  2. Open the PHP Selector:
    • If you are using the Jupiter theme, on the Tools page, in the Software section, click Select PHP Version
    • If you are using the Paper Lantern theme, in the SOFTWARE section of the cPanel home page, click Select PHP Version
  3. cPanel displays the current PHP version. To change the PHP version, in the Current PHP Versionlist 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 and 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, error_log, and many more.

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. Open the PHP Selector:
    • If you are using the Jupiter theme, on the Tools page, in the Software section, click Select PHP Version
    • If you are using the Paper Lantern theme, in the SOFTWARE section of the cPanel home page, click Select PHP Version
  3. On the Extensions tab, select which extensions you want to enable for the current PHP version:

    • To enable an extension, select the check box next to the extension name.
    • To disable an extension, clear the check box next to the extension name.
    • Selections are saved automatically.
  4. To change settings for the current PHP version:

    • Near the top of the page, click the Options tab.
    • 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

Was this answer helpful? 0 Users Found This Useful (0 Votes)

Powered by WHMCompleteSolution