Multiple PHP versions are available on our web hosting servers. They are configured with all of the common extensions you would expect to find at a web hosting provider. This is a standard Linux web hosting arrangement, suitable for all modern PHP applications such as WordPress and more.
To change PHP versions, log in to cPanel for your account and use the "MultiPHP Manager" found in the Software section. (Type "PHP" in the search box if you have difficulty locating it.)
From the MultiPHP Manager page, select the checkboxes for any domains you want to use a new PHP version. Use the pulldown menu to select which version of PHP to use for those domains. This will set the version of PHP used across the entire domain.
As of 2021, PHP 7.4 is the current supported version ("ea-php74") – we recommend using PHP 7.4 for all applications. 7.3 still receives security updates from the PHP authors through December 2021.
For development or testing purposes, you can also set the PHP version of specific subdirectories using .htaccess files. For example, put the following lines into an .htaccess file to change to PHP 7.3 (For other versions replace the "73" with the appropriate numbers, e.g. "74" is 7.4, "56" is 5.6".)
# Set the "ea-php73" package as the default "PHP" programming language.
AddHandler application/x-httpd-ea-php73 .php .php7 .phtml