Author Topic: PHP ERROR: It is not safe to rely on the system's timezone settings  (Read 7929 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
If you get this error listed bellow:
Code: [Select]
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:
Code: [Select]
date.timezone =
You can edit it eg. like this:
Code: [Select]
date.timezone ="US/Central"
After editing you can restart apache:
Code: [Select]
service httpd restart
Time Zone list:
https://php.net/manual/en/timezones.php
« Last Edit: March 28, 2014, 07:20:38 PM by Administrator »
AntiDDoS Protection (web + mail)
http://centos-webpanel.com/website-ddos-protection-proxy

Join our Development Team and get paid !
http://centos-webpanel.com/develope-modules-for-cwp


Services Monitoring & RBL Monitoring
http://centos-webpanel.com/services-monitor


Do you need Fast and FREE Support included for your CWP linux server?
http://centos-webpanel.com/noc-partner-list
Installation Instructions
http://centos-webpanel.com/installation-instructions
Get Fast Support Here
http://centos-webpanel.com/support-services