我想通過使用這個命令在我的項目文件夾中安裝Symfony:composer create-project symfony/framework-standard-edition path/ "2.5.*"
。Symfony項目安裝
在建立我得到提示一個問題,如果我想安裝愛司米演示包,我用肯定的答覆,安裝繼續,但我得到這些問題「看圖像」再次提示:
正如你可以看到我填寫了所有的細節,但是,這將引發一系列的錯誤:
[Symfony\Component\Debug\Exception\ContextErrorException]
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
/Applications/MAMP/htdocs/Symfony/Project1/vendor/monolog/monolog/src/Monolog/Logger.php line 233
腳本Sensio公司\包\ DistributionBundle \作曲\ ScriptHandler :: clearCache處理後安裝釐米d事件終止例外
[RuntimeException]
An error occurred when executing the "'cache:clear --no-warmup'" command. `
我在做什麼錯在這裏?
它作爲錯誤說,設置你的'date.timezone'值在'php.ini' – sjagr 2014-09-23 13:11:37
什麼是你的PHP版本? – Cerad 2014-09-23 13:44:08