Issue
How to 'hide' alt-php versions from MultiPHP Manager?
Environment
- CloudLinux OS 6/7/8
- cPanel with MultiPHP Manager
Solution
Edit the /opt/alt/alt-php-config/alt-php.cfg file.
In this example, we keep the alt-php72 visible in the list only:
[MultiPHP Manager]
alt-php44 = no
alt-php51 = no
alt-php52 = no
alt-php53 = no
alt-php54 = no
alt-php55 = no
alt-php56 = no
alt-php70 = no
alt-php71 = no
alt-php72 = yes
Once you edit it, run the /opt/alt/alt-php-config/multiphp_reconfigure.py script; it manages SCL prefixes for the Alt-PHP in /etc/scl/prefixes.
Comments
1 comment
and run the
Please sign in to leave a comment.