【问题标题】:composer.phar and ionCube 4.0.7composer.phar 和 ionCube 4.0.7
【发布时间】:2013-04-23 09:53:54
【问题描述】:

我试图让作曲家初始化一个 symfony2 项目。
但是当我尝试这个命令时

$ curl -s https://getcomposer.org/installer | 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:

Your ionCube Loader extension (4.0) is incompatible with Phar files.
Upgrade to ionCube 4.0.9 or higher or remove this line (path may be different) from your `php.ini` to disable it:
    zend_extension = /usr/lib/php5/20090626+lfs/ioncube_loader_lin_5.3.so

The php.ini used by your command-line PHP is: /etc/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.

我刚刚查看了我的 php.ini,发现我的 ionCube Loader 版本是 4.0.7。
有没有办法使用这个版本的 ionCube Loader 来获取 composer.phar 以避免 PHP 更新?

【问题讨论】:

    标签: symfony composer-php ioncube


    【解决方案1】:

    正如错误所说,旧的 ionCube 版本只会使 phar 文件失败,因此它们与 composer.phar 不兼容。但是,您可以安装新版本的 ioncube 加载程序,而无需完全更新 PHP。

    【讨论】:

    • 好的,谢谢你的建议。如何进行此 ionCuhbe 升级?
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2012-10-05
    • 2017-06-18
    • 1970-01-01
    • 2013-11-17
    • 2016-05-03
    • 2015-05-18
    • 1970-01-01
    相关资源
    最近更新 更多