This article describes the process to configure which Alt-PHP versions are available in cPanel MultiPHP Manager interface. This guide is intended for cPanel VPS or cPanel Dedicated Server administrators that utilize CloudLinux and have enabled Alt-PHP.
Background
When Alt-PHP is installed and enabled in CloudLinux, all versions of Alt-PHP are automatically selectable in the MultiPHP Manager within the cPanel user interface. This may not be desirable in all server environments. This article will demonstrate how to configure which Alt-PHP versions are available in cPanel MultiPHP Manager for cPanel accounts.
How to Configure Which Alt-PHP Versions Are Available in cPanel MultiPHP Manager
To configure which Alt-PHP versions are available in cPanel MultiPHP Manager, follow the steps below (note: requires root-level access):
- Login via SSH as root.
- Run the following command to edit the Alt-PHP versions:
nano /opt/alt/alt-php-config/alt-php.cfg
- Edit the file to reflect the desired settings (done by replacing "yes" with "no" for the corresponding Alt-PHP versions):
[MultiPHP Manager] alt-php44 = no alt-php51 = no alt-php52 = no alt-php53 = no alt-php54 = no alt-php55 = no alt-php56 = yes alt-php70 = yes alt-php71 = yes alt-php72 = yes alt-php74 = yes alt-php80 = yes alt-php81 = yes alt-php82 = yes alt-php83 = yes alt-php84 = yes alt-php85 = yes
- Close and save the file.
- Run the following command to reconfigure MultiPHP settings and apply the above changes:
/opt/alt/alt-php-config/multiphp_reconfigure.py
That's it!
Conclusion
You now know how to configure which Alt-PHP versions are available in cPanel MultiPHP Manager for CloudLinux VPS and Dedicated Servers.

👀 Choose SSD-powered VPS servers for increased speed, power, and security! Now 50% off- starting from only $3.19/mo.