【发布时间】:2015-12-24 14:08:08
【问题描述】:
我正在使用 composer 和这个命令 sudo composer create-project symfony/framework-standard-edition starwarsevents @stable 创建一个 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.
Script Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::clearCache handling the post-install-cmd event terminated with an exception
[RuntimeException]
An error occurred when executing the "'cache:clear --no-warmup'" command.
但是,当我导航到我的项目文件夹时,所有必要的文件似乎都在那里。
我想知道
1. 忽略此消息的后果是什么?
2. 我将如何解决这个问题?
3. 所有这些错误都相关吗?
【问题讨论】:
标签: php symfony dependencies composer-php development-environment