PHP Version

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.  Use the versions named with "ea-", not the alternate versions named with "alt-".  This will set the version of PHP used across the entire domain.

As of January 2019, we recommend using PHP 7.2 ("ea-php72").

You can also set the PHP version of specific subdirectories using .htaccess files.  Put the following lines into the .htaccess file to change to PHP 7.2  (For other versions replace the "72" with the appropriate numbers, e.g. "71" is 7.1, "56" is 5.6".)

# Set the “ea-php72” package as the default “PHP” programming language.
<IfModule mime_module>
  AddType application/x-httpd-ea-php72 .php .php7 .phtml

  • 2 Users Found This Useful
Was this answer helpful?

Related Articles

DNS Settings for Web Hosting

Note: If your domain name was registered here at Photon.Net, then your domain is already...

Admin Control Panel

To access your admin control panel (cPanel) for your web hosting account, type your domain name...