Re: FastCGI v.s DSO w/ Apache 2 (Linux)
| From: | Chris Hewitt | Date: | Fri, 20 Aug 2004 16:13:55 +0000 |
| Subject: | Re: FastCGI v.s DSO w/ Apache 2 (Linux) | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-14182@lists.php.net to get a copy of this message | ||
On Fri, 2004-08-20 at 05:03, Somebody in the WWW wrote:
> On Linux, would running PHP 5.0.1 w/ FastCGI under Apache 2 have much
> difference in performance compared to running PHP as a DSO under
> 1.3.x? I need to decide weather to use Apache 1.3.x/PHP-as-a-DSO or
> Apache 2.x/PHP-under-FastCGI.
I cannot answer your question directly as I've not used FastCGI, but I
would think it would depend on the time within PHP. If simple quick
things only were done then you might see a difference, but if long
database calls from PHP were common in your application, then the
CGI/DSO difference would probably be minimal.
1.3x/DSO is a known stable production environment. I don't know about
2.x/FastCGI but I use 2.x/DSO for development (httpd in prefork rather
than worker) without problem.
HTH
Chris