我一直在尝试使用
在我的机器上安装Composercurl -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.
我试着检查上面提到的文件,但没有一个真正有效。接下来我该做什么?
安装完成。这是一个小错误,由分号引起的。
有关composer的更多详细信息,请参阅http://getcomposer.org/doc/00-intro.md对于那些还没有安装PHPUnit的人来说,composer绝对是最好的选择!