2013-04-23 53 views
0

我试图让一个symfony2项目的init作曲家。
但w当我试试这个命令composer.phar和ionCube 4.0.7

$ 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公司装载机的版本是4.0。 7。
有没有办法让这个版本的ionCube Loader避免PHP更新的composer.phar?

回答

1

正如错误所述,旧的ionCube版本只会使phar文件失败,因此它们与composer.phar不兼容。但是,你可以安装一个新版本的ioncube loader,完全更新PHP,我会想象。

+0

好的,谢谢你的建议。我该如何做到这一点ionCuhbe升级? – ilSavo 2013-04-23 10:21:31