Link to home
Start Free TrialLog in
Avatar of Koolandrew
Koolandrew

asked on

set_time_limit(): Cannot set time limit in safe mode in

Hi,

I am facing a problem i have crate a file and when it runs through cron job it gives me error message:

PHP Warning:  set_time_limit(): Cannot set time limit in safe mode in /home/httpd/vhosts/kooltel.com/httpdocs/wholesale_corn_job.php on line 2
Warning: set_time_limit(): Cannot set time limit in safe mode in /home/httpd/vhosts/kooltel.com/httpdocs/wholesale_corn_job.php on line 2 Done..2008-07-06<br />

So pleaes guide me, where i am doing the mistake.

Thanks
Avatar of purplepomegranite
purplepomegranite
Flag of United Kingdom of Great Britain and Northern Ireland image

Your server is running in safe mode, which means you cannot modify this setting.  If it is your server, you need to disable safe mode.  If it is hosted, you are essentially stumped - you cannot set this value.

http://www.php.net/features.safe-mode
Avatar of Koolandrew
Koolandrew

ASKER

So these settings should be set from the server directly, becuase i just have control panel and ftp, to upload the files.

Thanks
ASKER CERTIFIED SOLUTION
Avatar of purplepomegranite
purplepomegranite
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial