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

1. Go to the WWW - WWW domains section


2. Select a site and click the Edit button


3. On the form in the Additional features section


  • 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