PHP timezone

PHP SYSTEM WARNING: ‘date(): It is not safe to rely on the system’s timezone settings

Edit /etc/php.ini and add the timezone setting within the file. For a list of timezone settings, visit http://php.net/manual/en/timezones.php


[Date] ; Defines the default timezone used by the date functions
; http://php.net/date.timezone
date.timezone = America/New_York

Share it onShare on FacebookShare on Google+Tweet about this on TwitterShare on LinkedIn
Kurinchi Calendar
August 2017
M T W T F S S
« Jul    
 123456
78910111213
14151617181920
21222324252627
28293031