I am running cPanel and I want to install Composer . I attempted to install it and found an error while running this,
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
Can I safely ignore this error? What issue may I come across in the future?
It is not necessary to always (re)compile PHP. For me it was sufficient to install php5-curl and restart Apache:
$ sudo apt-get install php5-curl
$ sudo /etc/init.d/apache2 restart
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.