How to remove invalid PHP handlers from MultiPHP Manager?

JAB Creations

Active Member
Nov 21, 2009
44
7
58
In WHM / MultiPHP Manager there are four "PHP Handlers":
  • cgi
  • lsapi
  • none
  • suphp
Only cgi works with my software, the others (most especially light speed) cause massive amounts of chaos and are effectively the equivalent to the "none" handler.

How do I remove the invalid PHP handlers from being listed as options on the WHM MultiPHP Manager page outright? I am 100% certain that I need and want to do this and have no interest in debating. Somehow the setting reverted from cgi to lsapi and all the websites immediately stopped working because Light Speed causes total chaos with Apache. I have Light Speed disabled elsewhere in WHM and had it "removed" from my account. The suphp option only works if I'm already authenticated however the websites I manage are just blank white pages if I'm not yet authenticated in a browser. I have root access on the server.
 

quietFinn

Well-Known Member
Feb 4, 2006
1,833
422
438
Finland
cPanel Access Level
Root Administrator
Go to EasyApache oand remove Apache module mod_lsapi, that removes lsapi PHP handler, remove also Apche module mod_suphp, that removes suphp PHP handler.
 
  • Like
Reactions: JAB Creations

JAB Creations

Active Member
Nov 21, 2009
44
7
58
Go to EasyApache oand remove Apache module mod_lsapi, that removes lsapi PHP handler, remove also Apche module mod_suphp, that removes suphp PHP handler.
Not only was that a fast reply though it worked in helping me get rid of two of the three invalid PHP Handlers. Thank you very much!

So all that is left is: how do I remove the "none" PHP handler on the WHM MultiPHP Manager page ?
 

quietFinn

Well-Known Member
Feb 4, 2006
1,833
422
438
Finland
cPanel Access Level
Root Administrator
I don't think you can remove that, because it does not exists. It just means that no PHP handler is selected for that specific PHP version.
 

hmaddy

Well-Known Member
May 6, 2020
350
39
28
Chennai
cPanel Access Level
Root Administrator
Login to whm with root login credentials -> and easyapache. From this page you can add or remove all the required php versions and its extensions.
 

JAB Creations

Active Member
Nov 21, 2009
44
7
58
I don't think you can remove that, because it does not exists. It just means that no PHP handler is selected for that specific PHP version.
Technology is 100% man-made and thus nothing is impossible, it's only a measurement of the ratio between aggravation and progress.