【发布时间】: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