How to run php4 as CGI pgm

Jean-Baptiste Quenot jb.quenot at caraldi.com
Fri Nov 14 13:54:25 PST 2003


* doug at safeport.com:

> As a PHP noivce I have a more general question. I want to offer PHP to
> virtual hosting  customers. Is there a  place to find a  discussion of
> the pros and cons of the  CGI binary and mod-php. I had concluded from
> reading  that  the  CGI  binary  and suExec  was  the  best  for  that
> environment.

It  is indeed.   But suExec  has to  be patched[1]  to allow  php to  be
executed by any user running it, as  plain suExec requires the cgi to be
owned by the user  running it.  If you don't patch it,  you will need to
copy the cgi in every user's directory.

I have a full description of that system if you need it.

Best regards,
-- 
Jean-Baptiste Quenot
http://caraldi.com/jbq/

[1] http://www.localhost.nl/patches/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20031114/19315e4e/attachment.bin


More information about the freebsd-questions mailing list