Our Linux platform has the ability to run different versions of PHP:

  • PHP 5.3
  • PHP 5.4
  • PHP 5.5
  • PHP 5.6
  • PHP 7.0
  • PHP 7.1
  • PHP 7.2
  • PHP 7.3
  • PHP 8.0
  • PHP 8.1
  • PHP 8.2
  • PHP 8.3

If you wish to switch versions on an Addon Domain or Sub-domain, kindly follow these steps:

  1. Open the .htaccess file of that particular domain from your File Manager.
  2. Add the following codes if it is not present in your .htaccess file;
    #+PHPVersion
    #=”php81″
    AddHandler x-httpd-php81 .php
    #-PHPVersion
  3. Replace the “php81” with the version of PHP you require (remember to write the version without the dot.)
  4. Save it and reload your site for the changes to take effect.