cPanel account's MultiPHP only shows one version of PHP.

WebHostPro

Well-Known Member
PartnerNOC
Jul 28, 2002
1,721
27
328
LA, Costa RIca
cPanel Access Level
Root Administrator
Twitter
For some reason in all cPanel accounts on one server it only shows one version of PHP. And the version is a ALT version.

What's off is we never added it. I would like to remove the alt version and have the cPanel account's be able to choose from the normal available versions.

We don't use cloud Linux which I thought was who adds those ALT PHP version.
 

Attachments

quietFinn

Well-Known Member
Feb 4, 2006
1,222
87
178
Finland
cPanel Access Level
Root Administrator
You say you don't use CloudLinux, and if you don't have CloudLinux you can't have Alt PHP as far as I know.
Has there been CloudLinux installed in that server?
 
  • Like
Reactions: WebHostPro

WebHostPro

Well-Known Member
PartnerNOC
Jul 28, 2002
1,721
27
328
LA, Costa RIca
cPanel Access Level
Root Administrator
Twitter
You say you don't use CloudLinux, and if you don't have CloudLinux you can't have Alt PHP as far as I know.
Has there been CloudLinux installed in that server?
That's what I thought! Maybe it was before. over 6 months or a year ago. We might of had CloudLinux then. This just appeared a couple weeks ago. Maybe from a Yum Update.

Remember how to get rid of it? I was told here before but can't find it.
 

quietFinn

Well-Known Member
Feb 4, 2006
1,222
87
178
Finland
cPanel Access Level
Root Administrator
Uninstall instructions here:
 

WebHostPro

Well-Known Member
PartnerNOC
Jul 28, 2002
1,721
27
328
LA, Costa RIca
cPanel Access Level
Root Administrator
Twitter
Uninstall instructions here:
Hmm I couldn't find it there. I contact them directly. Thanks for trying though.
 

WebHostPro

Well-Known Member
PartnerNOC
Jul 28, 2002
1,721
27
328
LA, Costa RIca
cPanel Access Level
Root Administrator
Twitter
I found this post which at least removes it from multiPHP. Good enough!

You can remove Alt-PHP binaries from cPanel MultiPHP Manager.
To do so set 'yes' or 'no' for the Alt-PHP versions in config file /opt/alt/alt-php-config/alt-php.cfg and run /opt/alt/alt-php-config/multiphp_reconfigure.py.
This script manages SCL prefixes for the Alt-PHP - removes or creates prefixes in /etc/scl/prefixes.

/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
 
  • Like
Reactions: quietFinn

cPanelLauren

Product Owner
Staff member
Nov 14, 2017
13,295
1,255
313
Houston
The correct way to remove alt-php can be found here: CloudLinux OS components | Documentation

Furthermore, if your OS is not CloudLinux, you should not be receiving packages from the CloudLinux repository. What's present in /etc/yum.repos.d/?