hello,
I have a php script, which is working and executeable via shell, without any problem.
Now I want to run a cron on this script. But now I get the error:
Warning: copy(): SAFE MODE Restriction in effect. The script whose uid is 10004 is not allowed to access /home/httpd/vhosts owned by uid 0 in /home/httpd/vhosts/mydomain/httpdocs/get_tpl.php on line 9
So I turned off safe_mode with
<Directory /home/httpd/vhosts/mydomain/>
php_admin_value safe_mode 0
</Directory>
did a
/usr/local/psa/admin/bin/websrvmng -a
and a
rcapache2 restart
But it's still the same!
Where should I start?
thanks
Joerg
I have a php script, which is working and executeable via shell, without any problem.
Now I want to run a cron on this script. But now I get the error:
Warning: copy(): SAFE MODE Restriction in effect. The script whose uid is 10004 is not allowed to access /home/httpd/vhosts owned by uid 0 in /home/httpd/vhosts/mydomain/httpdocs/get_tpl.php on line 9
So I turned off safe_mode with
<Directory /home/httpd/vhosts/mydomain/>
php_admin_value safe_mode 0
</Directory>
did a
/usr/local/psa/admin/bin/websrvmng -a
and a
rcapache2 restart
But it's still the same!
Where should I start?
thanks
Joerg