Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
“date(): It is not safe to rely on the system's timezone settings…”
#1
Thumbs Up 
You probably need to put the timezone in a configuration line in your php.ini file.
 
Code:
/usr/local/php/php.ini
 
You should have a block like this in your php.ini file:
 
Code:
[Date]
; Defines the default timezone used by the date functions
; http://php.net/date.timezone
date.timezone = Asia/Jakarta

If not, add it (replacing the timezone by yours). After configuring, make sure to restart httpd
 
Code:
service httpd restart
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)