【发布时间】:2014-09-26 11:43:44
【问题描述】:
我正在尝试在我的本地主机 (MAMP) 上安装 Symfony2,我按照 Symfony 官方网站上提供的安装说明进行操作。
首先我安装了作曲家并将其移至特定目录。
$ curl -sS https://getcomposer.org/installer | php
$ sudo mv composer.phar /usr/local/bin/composer
然后我执行了安装命令:
composer create-project symfony/framework-standard-edition *my-project-path-in-MAMP-htdocs*/ "2.5.*"
在安装过程中,系统会提示我是否要安装 Acme 捆绑包,我键入“y”以确认我确实要安装此捆绑包....
但在安装该捆绑包的过程中,我收到以下错误消息:
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 'Europe/London' for 'BST/1.0/DST' instead in /Applications/MAMP/htdocs/Symfony/project1/vendor/monolog/monolog/src/Monolog/Logger.php line 233
谁能帮助我或提出解决方案...?
【问题讨论】:
标签: symfony