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
June 2017
M T W T F S S
« Apr    
 1234
567891011
12131415161718
19202122232425
2627282930