我有一个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中设置了默认时区.伊尼
[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
这很奇怪.
有什么 idea 吗?谢谢.