Running PHP scripts with root permissions!!!

From: Date: Wed, 16 Aug 2000 14:31:54 +0000
Subject: Running PHP scripts with root permissions!!!
Groups: php.general 
Request: Send a blank email to php-general+get-12014@lists.php.net to get a copy of this message
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 (#12014) next »