Re: [PHP] safe mode bug ?
Andreas John <email@example.com> writes:
> There are 2.5 possibilities that make sense.
> a.) mod_suphp [Any volunteers to put that into debian tree??:-)]
> b.) Run php as cgi and attach she-bang (#!/path/to/pgp-cgi)
> c.) Run php as cgi and teach the environment to treat .php files like
> binaries with the "binfmt" kernel module
> Personally I did not decide wether to take a.) or c.) ...
When you run as cgi, with suexec, you need also to have a chmod +x, and
good group and owner. So it seems to be a pain in the begin but after
you're happy to have something really secure.
William - http://flibuste.net