P
phorium
Guest
php safe mode and cron jobs on 8.0.1
I have a cron job set up for phpDig that no longer works after migrating the site to plesk 8. Now, instead of indexing the site, the script just outputs this message in the log file:
Warning: set_time_limit(): Cannot set time limit in safe mode in /srv/www/vhosts/domain.com/httpdocs/search/admin/spider.php on line 22
Obviously this means that safe mode is causing the issues... but turning safe_mode off in the domain settings didn't work, and disabling safe_mode in the php.ini file doesn't work either. Somehow I'm now unable to run any php scripts from the command line without safe mode on regardless of how php.ini or the domain settings are configured. Anyone have any ideas of how to get around this?
I have a cron job set up for phpDig that no longer works after migrating the site to plesk 8. Now, instead of indexing the site, the script just outputs this message in the log file:
Warning: set_time_limit(): Cannot set time limit in safe mode in /srv/www/vhosts/domain.com/httpdocs/search/admin/spider.php on line 22
Obviously this means that safe mode is causing the issues... but turning safe_mode off in the domain settings didn't work, and disabling safe_mode in the php.ini file doesn't work either. Somehow I'm now unable to run any php scripts from the command line without safe mode on regardless of how php.ini or the domain settings are configured. Anyone have any ideas of how to get around this?