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
May 2017
M T W T F S S
« Apr    
1234567
891011121314
15161718192021
22232425262728
293031