Change PHP version

You can install alternative PHP versions.

Log into the panel as root. In the Settings - Features section select the appropriate version and click Install.

change-php-version1

Alternate PHP versions are installed in the /opt/ directory. Now you can choose different PHP versions for each WWW-domain in CGI mode.

The regular user must have rights to change the PHP version. Log into the panel as root. Under Accounts - Users select a user and click Change. In the Access tab, check Can use PHP in CGI mode:

change-php-version

Now the user can change the PHP version for his domains.

  1. Go to the Domains - WWW-domains section.
  2. Select a domain and click the Change button.
  3. In the PHP operation mode, select CGI.
  4. Select the required PHP version.

If you have any questions, please create a ticket to technical support.