Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- Gilles Ganault
January 7, 2008, 8:31 am
rate this thread
I just read this article on running web apps in SCGI, and was
- if it's possible to run PHP apps this way: I only know of running
them in plain CGI mode (ie. the interpreter is started with very
request, and the pages reparsed each time), and mod_php (the
interpreter is loaded once when the web server starts, but pages are
parsed for every request, unless using eg. APC or eAccelerator to
- if it is indeed possible, are performances higher than using
Re: Higher perfs by running PHP app in (Fast|S)CGI?
One of my hosts runs plain CGI, the other FastCGI. Both work very well.
No. The module will almost always be the fastest, but (Fast)CGI also has
its benefits. It's easier to secure the environment without forcing too
many restrictions onto the user.
If you need as much performance as possible, then get a dedicated or at
least a virtual server and run the server module. But on a shared host I
usually prefer the (Fast)CGI version.