How to Upgrade PHP for WHMCS 8.0
Use this guide to upgrade the PHP version that you use to run WHMCS. WHMCS 8.0 and higher requires PHP 7.2 or later, so upgrading to PHP 7.2 or later is required in order to upgrade to WHMCS 8.0. You won't see WHMCS 8.0 in the Automatic Updater if you do not run PHP 7.2 or PHP 7.3.
Upgrade Using cPanel's MultiPHP
1. Go to MultiPHP Manager
Log in to your cPanel account and go to Software >> MultiPHP Manager.
2. Apply the New Version
Check the box for 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.
- If the desired version isn't available and you have WHM access, use EasyApache 4 to install a higher version of PHP.
- If the desired version isn't available and you do not have WHM access, contact your system administrator.
Finally, click Apply.
3. Update the php.ini File
Go to Software >> MultiPHP INI Editor and click Editor Mode.
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 these lines to the file:
php_admin_flag[allow_url_fopen] = 1
php_admin_flag[memory_limit] = 128M
Then, click Save.
4. Check Your Installation
Log in to your WHMCS installation to ensure that there aren't any errors.
You are now ready to upgrade to WHMCS 8.0.