Php as cgi binary vs. apache module
Posted on 2005-04-05
I've been having problems with my Linux box running a ton of concurrent php processes. The load during peak hours is unbearable. I've heard from others running my similar setup that have been able to handle the load quite well.
Our host has php installed as a cgi-binary, and I've read that you can get a performance boost if it's installed as an apache module. Is this true? I've read about the security risks, but right now I'm a lot more concerned about performance. How much of an impact will installing php as an apache module have on performance? Is there another workaround with it installed as a cgi binary?
Any help would be greatly appreciated.