date(): It is not safe to rely on the system’s timezone settings.
Posted on December 15, 2015 • 1 minutes • 126 words • Suggest Changes
A little annoying :
[:error] [pid 8725] [client :51515] PHP Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in on line 29, referer:
PHP being a bit silly is it not ? Fix this crazy error : (Centos 7)
nano +878 /etc/php.ini
date.timezone = Europe/Brussels
possible time zones
restart (reload might work) httpd to get it active
service httpd restart
Be gone from my log file evil error!