编译Composer时出错

时间:2014-09-15 22:26:28

标签: php compiler-errors composer-php cpanel

我正在运行cPanel,我想安装Composer。我试图安装它,并在运行时发现错误,

root@server [/bin]# php installer --check
Some settings on your machine may cause stability issues with Composer.
If you encounter issues, try to change the following:
PHP was compiled with --with-curlwrappers which will cause issues with HTTP authentication and GitHub.
Recompile it without this flag if possible

我可以安全地忽略此错误吗?我将来会遇到什么问题?

1 个答案:

答案 0 :(得分:1)

没有必要总是(重新)编译PHP。对我来说,安装php5-curl并重新启动Apache就足够了:

$ sudo apt-get install php5-curl
$ sudo /etc/init.d/apache2 restart
相关问题