How to change PHP version for a site

PHP Hosting in RealHOST supports most versions of the PHP language interpreter - from version 5.2 to the latest 8th version. Each site created under a hosting user account can use any version of PHP.

To change the version of the language interpreter for the site:

Settings should be done in the PHP hosting control panel https://cloud.realhost.pro

1. Go to the WWW - WWW domains section

how-to-change-php-version.4

2. Select a site and click the Edit button

how-to-change-php-version.6

3. On the form in the Additional features section

how-to-change-php-version.8

  • Select the operating mode PHP - LSAPI
  • Select the required PHP language version

For more information about PHP operating modes, see the Knowledge Base article Operating modes for PHP site