How do I change PHP versions or Configs?

At Cyberin, we use NGINX as a reverse proxy in front of Apache. PHP is handled by the mod_lsapi handler, which provides better performance and stability.

Change PHP Version using Cloud DNS:

Follow the steps below to change the PHP version for your domain using the ClouDNS plugin:

  1. Log in to your cPanel.

  2. Open the ClouDNS plugin.

  3. Select your domain and click Configuration.

  4. Under Application Status, choose PHP instead of Proxy.

  5. Select the default PHP version you want to use for the domain.

  6. Save the changes.

If you have never used the ClouDNS module in cPanel to enable full NGINX, you can still change your PHP version using the Select PHP Version module in cPanel. This allows you to:

Using the Select PHP Version module is the recommended way to configure your PHP version in cPanel when full NGINX through ClouDNS is not in use.

Watch the video tutorial below to quickly follow the process in just a few simple steps:

How PHP Selector works for End-Users in cPanel

Steps to Change PHP Version and Modules

  1. Open cPanel and select the PHP version.

  2. On the PHP Selector page, you will see the current PHP version. This usually happens to be PHP 7.0 by default for a new hosting account.

  3. Use the dropdown menu to select your desired PHP version.

  4. After selecting the PHP version, you can enable or disable PHP modules by checking the boxes under the Modules section.

  5. Click Save to apply the changes. The modules will now be available for your web application.

Modify PHP Options

  1. On the upper-right corner, click PHP Options to change important settings.

  2. Example changes:

Note: You do not need to edit php.ini or .htaccess manually. All changes can be made directly from the web interface.