Sunday, January 16, 2011

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

If you ever face this problem, then you should set in your php.ini for the proper timezone.

edit php.ini and add this line :

date.timezone = "Asia/Kuala_Lumpur" 
 

restart your webserver and success!!


0 comments: