Re: Running PHP scripts with root permissions!!!

From: Date: Wed, 16 Aug 2000 14:22:40 +0000
Subject: Re: Running PHP scripts with root permissions!!!
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-12015@lists.php.net to get a copy of this message
use sudo Web Admin wrote: > > Hi everybody, > Does anyone know how to run php scripts with root permissions? > For example, i want to write a php script which shows last system > messages using tail /var/log/messages. > How can I do that without chmod 777 /var/log/messages!! > That's very very URGENT!! > httpd is being run by nobody. Should I change it? The owner can't > be root in Apache (latest version). > Regards, > Ahmad Anvari

« previous php.general (#12015) next »