Hide Alt-PHP versions from cPanel's MultiPHPManager

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.

  • hide alt-php from phpmanager, disable alt-php, hide alt-php
  • 0 Bu dökümanı faydalı bulan kullanıcılar:
Bu cevap yeterince yardımcı oldu mu?

İlgili diğer dökümanlar

How to access server via Remote Desktop (RDP)?

Remote Desktop Protocol (RDP) is a proprietary protocol developed by Microsoft, which provides a...

How to install Let’s Encrypt on CentOS 7 with Apache?

Today, we will show you, How to install Let’s Encrypt on CentOS 7 with Apache. Let’s Encrypt is a...

Domains are not showing in WHM -> List accounts

We were unable to see any domains listed under WHM -> List Accounts. However, we can see the...

HOW TO INSTALL LITESPEED WEB SERVER IN LINUX SERVER?

Litespeed Cache is useful to increase high performance for your Wordpress Website. Following are...

Remove ONLY_FULL_GROUP_BY in my.cnf file

Remove ONLY_FULL_GROUP_BY in my.cnf file First you need to find my.cnf file location and then...