Re: php4 as a module AND a cgi
| From: | Jason Brooke | Date: | Mon, 26 Feb 2001 10:33:52 +0000 |
| Subject: | Re: php4 as a module AND a cgi | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-41662@lists.php.net to get a copy of this message | ||
> I have to ask, though, why would you want to run it as a cgi?
>
> Its slower as cgi and runs more security risks.
> I'd only run it as a cgi if that was my only choice.
It's probably less of a security risk when utilised via the cgi actually, at
least when using Apache as the webserver because you can use suExec to cause
it to run under the script owner's uid instead of Apache's. I've often
considered switching vhosts over to the cgi version instead of module for this
very reason.
jason