【问题标题】:installing composer using curl -sS https://getcomposer.org/installer | php command使用 curl -sS https://getcomposer.org/installer 安装作曲家 | php命令
【发布时间】: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


【解决方案1】:

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

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

【讨论】:

  • 由于缺乏解决方案的详细信息而投反对票。
猜你喜欢
  • 2017-05-31
  • 1970-01-01
  • 2017-03-13
  • 2021-01-30
  • 2018-10-21
  • 2018-04-26
  • 1970-01-01
  • 2013-06-21
  • 2013-06-03
相关资源
最近更新 更多