How to run php4 as CGI pgm

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

* doug at

> 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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url :

More information about the freebsd-questions mailing list