New in CWP Edge-LatestFree with every CWPpro licenceWebsites up to 300x faster

CWP now includes LSPHP, LSAPI-Cache and CWP Cage at no extra cost with all CWPpro licences. The LSAPI-Cache plugin is integrated into our WordPress and other script installers, and CWP Cage gives every user complete isolation. Available now in the CWP Edge-Latest version.

Get CWPpro ›

PHP ERROR: It is not safe to rely on the system's timezone settings

Started by Administrator, March 28, 2014, 07:18:49 PM

Previous topic - Next topic

Administrator

If you get this error listed bellow:

date(): It is not safe to rely on the system's timezone settings
mktime(): It is not safe to rely on the system's timezone settings


You can edit your /etc/php.ini file and search:
date.timezone =

You can edit it eg. like this:
date.timezone ="US/Central"

After editing you can restart apache:
service httpd restart

Time Zone list:
https://php.net/manual/en/timezones.php