【发布时间】:2013-04-20 13:11:04
【问题描述】:
我一直想在我的机器上安装 Composer 使用
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.
我尝试检查上述文件,但没有一个真正起作用。 接下来我该怎么做?
【问题讨论】:
-
您能找到指定的文件吗?
-
是的,我做到了。那是 suhousin.ini 或 ph.ini。但它们不可编辑。
-
您需要联系您的(托管?)公司,向他们寻求解决方法。如果您缺乏安装 Composer 所需的权限,那么其他任何人都无能为力。
标签: ubuntu curl composer-php