简体   繁体   English

Symfony2 php composer.phar安装

[英]Symfony2 php composer.phar install

When I was setting up Symfony 2 in that step 当我在该步骤中设置Symfony 2时

php composer.phar install

It gives me that error 它给了我这个错误

Script Incenteev\\ParameterHandler\\ScriptHandler::buildParameters handling the post-install-cmd event terminated with an exception 脚本Incenteev \\ ParameterHandler \\ ScriptHandler :: buildParameters处理以异常终止的post-install-cmd事件

[InvalidArgumentException] [InvalidArgumentException]
The dist file "app/config/parameters.yml.dist" does not exist. dist文件“app / config / parameters.yml.dist”不存在。 Check your dist-file config or create it. 检查你的dist文件配置或创建它。

Did you check your parameters.yml.dist file? 你检查过你的parameters.yml.dist文件了吗? Does it exists? 它存在吗? It should be placed in app/config/parameters.yml.dist 它应该放在app/config/parameters.yml.dist

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM