Sometimes you don't want to see the whole list of available alt-php versions in your MultiPHP Manager. You can hide alt-php binaries from cPanel MultiPHP Manager by adjusting the /opt/alt/alt-php-config/alt-php.cfg file. The "yes" option will show the corresponding PHP version, "no" will hide one.
#/opt/alt/alt-php-config/alt-php.cfg
[MultiPHP Manager]
alt-php44 = no
alt-php51 = no
alt-php52 = no
alt-php53 = no
alt-php54 = no
alt-php55 = yes
alt-php56 = yes
alt-php70 = yes
alt-php71 = yes
alt-php72 = yes
Once done, run
/opt/alt/alt-php-config/multiphp_reconfigure.py
To apply the changes.
This script manages SCL prefixes for the Alt-PHP - removes or creates prefixes in /etc/scl/prefixes.
Check the following guide on how to configure the PHP Selector on cPanel servers from scratch:
Comments
0 comments
Please sign in to leave a comment.