我遇到了Symfony 2的一些麻烦,试图通过以下方式生成模式:
PHP console/app generate:schema:create
我有一个很漂亮的错误:
[Exception] DateTime::__construct(): 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 'Europe/Berlin' for 'CEST/2.0/DST' instead
因此,我正在尝试用我的PHP.ini更改时区
date.timezone = 'Europe/Paris'
但即使我正在重装我的阿帕奇,我仍然会得到
date.timezone Europe/Zurich Europe/Zurich
如果我看看我的PHPinfo(),所以我真的不知道接下来应该尝试什么……而且我甚至不确定我是不是很好.
谢谢你的帮助