Easy and Simple Solution

Saturday, May 20, 2017

warning date_default_timezone_get() it is not safe to rely on the system's timezone settings

No comments
Sometimes, you might receive warning message in your website.Due to missing timezone configuration in your PHP file it happens.
Error:
warning date_default_timezone_get() it is not safe to rely on the system's timezone settings
Solution:
Get your timezone format @ http://php.net/manual/en/timezones.php
date.timezone = Asia/Kolkata

No comments :

Post a Comment

Real Time Analytics