我有一个Symfony2项目。我今天将php更新到5.5.7,从那时起,我开始
Warning: date_default_timezone_get(): 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...
我在php.ini中设置了默认时区
[Date]
; Defines the default timezone used by the date functions
; http://php.net/date.timezone
date.timezone = "Europe/Paris";
为了确保这是很好的php.ini,我正在与
phpinfo();
我要到达的路径就是我正在修改的路径:
/usr/local/php5.5.7/lib
但是在那里,我看到了
Default timezone UTC
真奇怪
任何的想法?谢谢。