Solving Warning: set_time_limit(): Cannot set time limit in safe mode Error message
Posted by on 9th, 2007
If you get Warning: set_time_limit(): Cannot set time limit in safe mode error message , it is because your server has SAFE_MODE turned on in the php.ini configuration file.
How to remove this error
- use the @ in front of the set_time_limit()
- or you can try turning off SAFE MODE
How To turn off SAFE_MODE:
1. Email your hosting company and ask them if they will turn this setting off for you. It depends on their company policies, if they will comply.
2. Connect to your server via SSH and use an editor such as PICO to edit your php.ini file manually. Once you have the php.ini file open, you can change the value to off for this setting. Save the file and exit.
Hope this information helps

Popularity: 4% [?]
