FreeBSD - The Infinite
Don't look your past, but look your future
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:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment