php3-list | 199908
Date: 08/12/99
- Next message: John Coggeshall: "RE: [PHP3] ICQ For PHP"
- Previous message: Howie Oakes: "RE: [PHP3] PHPLIB7 and 3.0.12 problems"
- In reply to: Jason Haar: "Re: [PHP3] "suexec" for php?"
- Next in thread: Samuel Liddicott: "RE: [PHP3] "suexec" for php?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I wrote:
> That's not what I meant. I mean use PHP as a Unix tool - not a Web tool. I
> have tonnes of perl scripts (and shell scripts for that matter) that are
> used via cron - PHP could do most of them too.
I had several people reply to me saying things like it's not a good idea to
setuid root the php binary. People are missing the original message: it was
talking about the "suexec" feature of Apache that allowed CGI programs to
run as other (non-root) usercodes when accessed as "/~usercode/prog.cgi".
Read the Apache docs if you haven't heard of this feature before - it can be
quite useful.
Obviously if I wanted a cronjob to run a php script as root - I'd run it
from the root crontab! :-)
-- CheersJason 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>
- Next message: John Coggeshall: "RE: [PHP3] ICQ For PHP"
- Previous message: Howie Oakes: "RE: [PHP3] PHPLIB7 and 3.0.12 problems"
- In reply to: Jason Haar: "Re: [PHP3] "suexec" for php?"
- Next in thread: Samuel Liddicott: "RE: [PHP3] "suexec" for php?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

