Hide Alt-PHP versions from cPanel's MultiPHPManager Print

  • hide alt-php from phpmanager, disable alt-php, hide alt-php
  • 0

Hide Alt-PHP versions from cPanel's MultiPHPManager

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.

# vi /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 = no
alt-php56 = no
alt-php70 = no
alt-php71 = no
alt-php72 = no

Once done, run

# /opt/alt/alt-php-config/multiphp_reconfigure.py

To apply the changes.


Was this answer helpful?

« Back