Justtechjobs.com Find a programming school near you






Online Campus Both


php3-list | 199908

Re: [PHP3] "suexec" for php? From: Jason Haar (jhaar <email protected>)
Date: 08/11/99

In tnz.list.php3, you wrote:
> suExec works fine with PHP if PHP is installed as a CGI. As a module it
> won't work, and it never will. And nothing is coming up to fix it. It
> can't be done given the current Apache architecture. The best solution is
> to run separate Apache pools for each virtual server.
>

I think you need to state this more positively.

PHP can run as other usercodes via the same mechanism available to all CGI's
under Apache compiled with suExec. When building PHP, build both the module
version (for performance), and the stand-alone version to use in CGI apps.

In fact, as I've committed to PHP over mod_perl, I'm now wondering how many
or my admin perl scripts I could rewrite into stand-alone PHP scripts... :-)

-- 
Cheers

Jason Haar

Unix/Network Specialist, Trimble NZ Phone: +64 3 3391 377 Fax: +64 3 3391 417

-- PHP 3 Mailing List <http://www.php.net/> To unsubscribe, send an empty message to php3-unsubscribe <email protected> To subscribe to the digest, e-mail: php3-digest-subscribe <email protected> To search the mailing list archive, go to: http://www.php.net/mailsearch.php3 To contact the list administrators, e-mail: php-list-admin <email protected>