php safe mode and running php scripts from root ssh

I have enabled php safe mode on my server.

Fortunetly I can specify in httpd.conf user that can run without those restriction by placing
php_admin_flag safe_mode Off

However I especialy need to disable those restrictions on php scripts running from root shell or any user shell by /usr/bin/php ...


I cant specify that in httpd.conf do I? php safe mode and running php scripts from root ssh Is there any way? I really need it, because scripts that run under root shell have also root file permissions and that means that script can acces and modify all files anywhere...

 

 

 

 

Top