小编dab*_*cks的帖子

警告:date_default_timezone_get()安装Symfony

我正在尝试在XAMPP上安装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/XAMPP/xamppfiles/htdocs/vendor/monolog/monolog/src/Monolog/Logger.php line 233 
Run Code Online (Sandbox Code Playgroud)

然后

Script Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::clearCache handling the post-
install-cmd event terminated with an exception …
Run Code Online (Sandbox Code Playgroud)

php symfony

14
推荐指数
2
解决办法
3万
查看次数

标签 统计

php ×1

symfony ×1