Knowledge Base

How to change the PHP version using cPanel

This article describes how to use cPanel to change the PHP version that your web site uses to process PHP-enabled files.

The information in this article only applies to certain types of hosting accounts. To determine whether or not the information below applies to your account, please see this article.

Changing the PHP version

In addition to the default PHP installation, A2 Hosting provides full, complete builds for several alternate PHP versions. These versions are built with all of the common (and several uncommon) plugins and options. For detailed information about using alternate PHP versions, please see this article.

To change the PHP version in cPanel, follow these steps:

  1. In the Software/Services section of the cPanel home screen, click PHP Version. The Select PHP Version page appears.
    To switch back to the original PHP version, select the version marked as the system default.
  2. Select the PHP version that you want, and then click Submit. The new PHP version setting takes effect immediately.