2013-04-26 92 views
-1

我一直tyrying使用使用curl -sS安装composer https://getcomposer.org/installer | PHP命令

curl -sS https://getcomposer.org/installer | php 

命令,该命令提供了以下错误在我的机器上安装作曲:

#!/usr/bin/env php 
Some settings on your machine make Composer unable to work properly. 
Make sure that you fix the issues listed below and run this script again: 

The suhosin.executor.include.whitelist setting is incorrect. 
Add the following to the end of your `php.ini` or suhosin.ini (Example path [for Debian]: /etc/php5/cli/conf.d/suhosin.ini): 
    suhosin.executor.include.whitelist = phar 

The php.ini used by your command-line PHP is: /etc/php5/cli/php.ini 
If you can not modify the ini file, you can also run `php -d option=value` to modify ini values on the fly. You can use -d multiple times. 

我试图检查上面提到的文件,但没有真正的工作。 接下来应该做什么?

+0

你能找到指定的文件吗? – likeitlikeit 2013-04-26 12:05:25

+0

是的,我做到了。那是suhousin.ini或ph.ini。但它们不可编辑。 – user1941600 2013-05-30 17:09:38

+0

您需要联系您的(托管?)公司,向他们寻求解决方法。如果您缺少安装Composer所需的权限,那么其他人无法做到的事情并不多。 – likeitlikeit 2013-05-31 14:46:33

回答

-4

我已完成安装。这是一个小错误,由于分号而出现。

有关作曲家的更多详情,请参阅http://getcomposer.org/doc/00-intro.md 对于没有安装PHPUnit的人来说,作曲家绝对是最好的方式!

+1

给出的问题的解决方案... – mpgn 2013-11-07 17:36:18

+0

Downvoting由于缺乏解决方案的细节。 – 2014-06-05 21:06:17