At 06:23 PM 3/16/2006, Anthony Ettinger wrote:

On 3/16/06, Miles Thompson <[EMAIL PROTECTED]> wrote:
> At 05:40 PM 3/16/2006, Anthony Ettinger wrote:
>
> >dreamhost let's you choose php4 or 5, as I'm sure others do as well.
> <snipped all 'dat stuff>
>
> A little more on dreamhost.
> PHP5 is installed as CGI, not Apache module.

Is there a drawback to running php5 as CGI?

--
Anthony Ettinger
Signature: http://chovy.dyndns.org/hcard.html

Anthony,

I really don't know, because computers are much faster, so there may not be the time lags there were 10 years ago.

As I understand CGI, the web server sees that the page is of type .php, starts up PHP, PHP processes the page, the web server shuts down PHP and sends out the results. The overhead of starting and stopping PHP (or Perl, etc.) was the complaint.

When PHP is loaded as an Apache module there is not startup / shutdown overhead.

If I have this wrong, or if PHP5 as a CGI stays resident and there is no penalty, will someone please correct me.

Regards - Miles

--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.1.375 / Virus Database: 268.2.1/279 - Release Date: 3/10/2006

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to