How to Update the PHP Version
If you ever encounter problems with the way your server handles PHP packages, it may be helpful to view and/or modify your server's PHP configuration. Depending on the server that you are on, you will have either the MultiPHP Manager or the PHP Selector plugin in the cPanel, which is used to modify your websites' PHP versions.
Option 1 - MultiPHP Manager
- You are logged into your Customer Portal. You can also log in after clicking the link.
- The hosting package you are attempting to access is either a Shared or Cloud.
Here are the instructions on how to use the MultiPHP Manager.
- Log into cPanel.
- Select MultiPHP Manager in the Software section.
- Select the domain you want to update by checking the box on its left side.
- Choose your preferred PHP version from the drop-down, then click Apply.
- There will be a pop-up in the upper right corner notifying you that the change was successful.
Option 2 - PHP Selector
The PHP Selector allows users on Shared and Reseller servers to easily enable a specific PHP version for a site without manually adding a handler to the .htaccess file. To update the PHP version of a site using the PHP Selector, please check this video guide ⤵.
The steps on how to use the PHP Selector are outlined here:
- Log into cPanel.
- In the Software section, click the PHP Selector icon.
- Navigate to the directory which you'd like to update the PHP version. The document root for the primary site on your account is located in the public_html folder.
- From the drop-down menu, select the version of PHP you want to use and then click Update.
Caution: If your site's scripts rely on older functions of PHP, which are no longer available in the latest stable version being used on the server, you may encounter compatibility issues when the PHP is automatically updated.
Getting a "MySQL Extension" Error from MultiPHP Update? Here is a video tutorial on how to fix it: