Installing as CGI means you get a separate php interpreter (php.exe I think on windows), so you can run php programs without going through the web or needing apache or another web server. A significant downside to this is that php programs which _are_ called via the web server will be slower since a new interpreter will need to be started up to handle each request.

Installing as a module means that the php interpreter is integrated right into the webserver. Web requests are much faster since the php interpreter is already up and running and doesn't need to be restarted for each request, however you can't use it for anything but web requests.

There are also security issues to be mindful of and probably much more that I've glossed over.

You might want to read over this... http://www.php.net/manual/en/installation.php

-Steve

On Wednesday, February 19, 2003, at 06:22 PM, Rubylinda Otero wrote:

hi i just want to know what is the difference betwee installing php as cgi and as apache module...


im just curious coz i use cgi , im using win98se, apache 1.3xx and php 4.3.


pls help,,

Rubylinda F. Otero
Cathay Drug Co., Inc.


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

Reply via email to