PHP selector not taking effect without apache restart.

alainjforrester

Registered
Mar 22, 2013
2
0
1
cPanel Access Level
Root Administrator
Currently looking at running CageFS with PHP Selector but really need PHP running as FCGI (with APC) to avoid the heavy performance impact of suPHP.

One issue I'm having at the the moment though is when running as FCGI, PHP version changes don't take effect until apache is restarted. This isn't he case when running suPHP.

I presume it's down to how FCGI keeps the continuous process running as opposed to suPHP's generating a new process for each request. Restarting apache is killing the process that was hanging onto the previous PHP version.

Is that the way it's supposed to happen or is there maybe something in my config somewhere that's preventing it from changing straight away? If not, is there any other way I can get round it while sticking with FCGI?

Thanks in advance,
Al.
 

alainjforrester

Registered
Mar 22, 2013
2
0
1
cPanel Access Level
Root Administrator
Hi,

CL have added a bug fix to the latest version of LVE for this.

Graceful restart is fine if you have permissions to do that. cPanel end-users can't restart apache, so they would have needed to wait until the next time a restart is triggered before their changes would take effect.

Regardless, the bug fix in LVE makes the users' changes happen instantly, as they should. They're most likely triggering a graceful restart when the users confirm the change.