|
Posted by Michael Fesser on 01/07/08 09:30
..oO(Gilles Ganault)
>I just read this article on running web apps in SCGI, and was
>wondering...
>- 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
>cache them)
One of my hosts runs plain CGI, the other FastCGI. Both work very well.
>- if it is indeed possible, are performances higher than using
>mod_php?
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.
Micha
Navigation:
[Reply to this message]
|