Warning: strtotime(): 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. We selected 'Asia/Kuala_Lumpur' for 'MYT/8.0/no DST' instead in /var/www/html/fridae/lib/Cake/Cache/Cache.php on line 513 Warning: strtotime(): 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. We selected 'Asia/Kuala_Lumpur' for 'MYT/8.0/no DST'
To solve this in php 5.3, open the php.ini
$ nano /etc/php.ini
Search [Date], and change the ;date.timezone = to
date.timezone ='Asia/Kuala_Lumpur'
Restart apache
$ /etc/init.d/httpd restart
Refer:http://chrisjean.com/2011/06/24/php-5-3-and-system-timezone-settings/
No comments:
Post a Comment