View Single Post
  #3  
Old 3rd December 2012, 10:10
manarak manarak is offline
Senior Member
 
Join Date: Apr 2009
Posts: 262
Thanks: 32
Thanked 6 Times in 5 Posts
Default

thank you Falko

I need to test the script first, is there a way to execute the PHP script from http with root privileges?

would something like that work if I add it to /etc/sudoers
Code:
web1 ALL=(ALL) NOPASSWD: /usr/bin/php -f /var/www/clients/client1/web/myscript.php
?
Reply With Quote