The error msg is complaining about the root path (/) - which is indeed not in 
the allowed path list.

I suspect that your script is trying to access the root path, perhaps due to 
relative path(s) in it.

I'd try to modify the script to use absolute path instead and try again.

D.

PHP Warning: realpath(): open_basedir restriction in effect. File(/) is not 
within the allowed path(s): 
(/home/.sites/70/site4/:/tmp/:/var/lib/php/session/:/usr/sausalito/configs/php/)
 in /home/.sites/70/site4/test.php on line 3

So even though I explicitly listed /home/.sites/70/site4/ as a permitted 
folder, it's not working.

If I change /etc/crontab to use the "#!/usr/bin/php" trick that D mentioned, I 
get:

PHP Warning: realpath(): open_basedir restriction in effect. File(/) is not 
within the allowed path(s): 
(/tmp/:/var/lib/php/session/:/usr/sausalito/configs/php/) in 
/home/.sites/70/site4/test.php on line 3



_______________________________________________
Blueonyx mailing list
[email protected]
http://mail.blueonyx.it/mailman/listinfo/blueonyx

Reply via email to