Hi! On Thu, 16 Mar 2006 20:45:29 -0400 Miles Thompson <miles@xxxxxxxxxxxxxxxxx> 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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php