-1

我一直在尝试使用

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.

我尝试检查上面提到的文件,但没有一个真正起作用。接下来我该怎么办?

4

1 回答 1

-4

我完成了安装。这是一个小错误,由分号引起。

有关 composer 的更多详细信息,请参阅http://getcomposer.org/doc/00-intro.md 对于尚未安装 PHPUnit 的任何人,composer 绝对是最好的方法!

于 2013-06-11T06:10:17.267 回答