I receieve the following error when running a PHP script in my account:
It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier
PHP version 5.3.28 and above does not support the function. So, to fix the issue, you will need to use an older version of PHP, such as 5.2.
You can change your accounts PHP version using the PHP Selector in cPanel:
https://my.dropals.com/knowledgebase.php?action=displayarticle&id=156
Most Popular Articles
How do I create a PHP info page?
You can display the servers PHP configuration and what modules are currently loaded using a PHP...
How do I set the PHP version for a directory?
Sometimes you may need to install more than one app that uses different PHP versions, but the PHP...
How to change PHP limits and settings on Linux hosting?
If you need to adjust PHP limits or common settings such...
How to choose PHP version on Linux hosting?
To choose your PHP version: In cPanel go to "Software/Services" Click "Select PHP...
How to choose PHP version on Windows Hosting?
(Changing your PHP version and settings on our Windows shared hosting plans requires either our...