我想在symfony2中安装FOSUserBundle但是当我告诉作曲家下载捆绑包时没有任何反应。
这是composer.json
"require": {
"php": ">=5.3.3",
"symfony/symfony": "2.2.*",
"friendsofsymfony/user-bundle": "*",
"doctrine/orm": "~2.2,>=2.2.3",
"doctrine/doctrine-bundle": "1.2.*",
"twig/extensions": "1.0.*",
"symfony/assetic-bundle": "2.1.*",
"symfony/swiftmailer-bundle": "2.2.*",
"symfony/monolog-bundle": "2.2.*",
"sensio/distribution-bundle": "2.2.*",
"sensio/framework-extra-bundle": "2.2.*",
"sensio/generator-bundle": "2.2.*",
"jms/security-extra-bundle": "1.4.*",
"jms/di-extra-bundle": "1.3.*",
},
当我尝试运行良好的命令行时:
xavier@Debian: su php composer.phar update --prefer-dist friendsofsymfony/user-bundle
xavier@Debian:
我已经尝试过没有--prefer-dist
,但没有改变任何内容。
感谢您的帮助
答案 0 :(得分:1)
问题解决了!我必须在我的php.ini末尾添加这个:suhosin.executor.include.whitelist = phar
,如果它可以帮助某人。