Re: php 5 installation problem
| From: | - Edwin - | Date: | Fri, 17 Mar 2006 05:39:49 +0000 |
| Subject: | Re: php 5 installation problem | ||
| References: | 1 2 3 4 5 6 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-232079@lists.php.net to get a copy of this message | ||
Hi!
On Thu, 16 Mar 2006 20:45:29 -0400
Miles Thompson <miles@allnovascotia.com> wrote:
> At 06:23 PM 3/16/2006, Anthony Ettinger wrote:
>
> >[...]
> >Is there a drawback to running php5 as CGI?
>
> 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.
No, nothing wrong there, I think.
But there are other differences. (Like some functions not
working, etc.) Pros and cons, one might say. Anyway, here
are some results of a quick google search:
http://www.google.com/search?q=php+CGI+module+difference
Hmm.. I just couldn't find it but there should be a page
about it on www.php.net ... (^_-)
> Regards - Miles
HTH,
- Edwin -
--
"Give to a wise person and he will become still wiser.
Impart knowledge to someone righteous
and he will increase in learning." - Proverbs 9:9