我一直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.
我试图检查上面提到的文件,但没有真正的工作。 接下来应该做什么?
你能找到指定的文件吗? – likeitlikeit 2013-04-26 12:05:25
是的,我做到了。那是suhousin.ini或ph.ini。但它们不可编辑。 – user1941600 2013-05-30 17:09:38
您需要联系您的(托管?)公司,向他们寻求解决方法。如果您缺少安装Composer所需的权限,那么其他人无法做到的事情并不多。 – likeitlikeit 2013-05-31 14:46:33