how can i recompile php without recompiling apache and my sites being offline?

Aug 8, 2005
22
0
151
Hi guys,
I have 300 sites on one cpanel server, and I don't want downtime and rebuilding apache seems wasteful, All I need is to recompile php with GD in addition to what i last compiled it with.

How would I do this?

thanks in advance
 
Aug 8, 2005
22
0
151
but apache will go down while it's building and that build takes 30 freaking minutes....

How can i do it from shell, where i just recompile and install php again, and all that's needed is a httpd restart to take effect, rather than cpanel / whm closing apache for 30 minutes.
 

jackie46

BANNED
Jul 25, 2005
536
0
166
NO it doesnt go down! It stays up. It restart httpd at least twice during the build and keeps even php sites running until the final restart.
 

chirpy

Well-Known Member
Verifed Vendor
Jun 15, 2002
13,437
33
473
Go on, have a guess
Indeed. The only time I've ever seen it shutdown is if you enable phpsuexec for the first time, otherwise, it should indeed stay up and running for the duration with a couple of graceful restarts.