Posted 15 December, 2015
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
restart (reload might work) httpd to get it active
service httpd restart
Be gone from my log file evil error!
If you enjoyed this article, please consider buying me a Dr Pepper.
Fuel the beast!
Buy me a Dr Pepper