Update PHP with cPanel MultiPHP
To meet each version’s requirements, you must sometimes upgrade the PHP version on your WHMCS installation’s server. If you use cPanel & WHM and EasyApache 4 to host your WHMCS installation, you can use the MultiPHP Manager and MultiPHP INI Editor features to change your PHP version.
Upgrade Using cPanel’s MultiPHP
To upgrade PHP using cPanel:
1. Go to MultiPHP Manager.
Log in to the cPanel account that hosts your WHMCS installation and go to Software » MultiPHP Manager.
2. Apply the new version.
Check the domain for your WHMCS installation. Then, select PHP 7.2 or 7.3 from PHP Version in the top-right corner of the page and click Apply.
If the desired version isn’t available and you have WHM access, use EasyApache 4 to install a higher version of PHP. If you do not have WHM access, contact your system administrator.
3. Update the php.ini file.
Go to Software » MultiPHP INI Editor and select the Editor Mode tab.
Select your domain from Select a location. A php.ini
file (or a blank file if you don’t have a php.ini
file yet) will appear.
Add the following lines to the file:
php_admin_flag[allow_url_fopen] = 1
php_admin_flag[memory_limit] = 128M`
Then, click Save.
4. Check your WHMCS installation.
Log in to your WHMCS installation to ensure that there aren’t any errors.
Last modified: October 30, 2024