Tom
Tom

Reputation: 1223

Error while compiling Composer

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?

Upvotes: 0

Views: 564

Answers (1)

Sujit Agarwal
Sujit Agarwal

Reputation: 12508

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

Upvotes: 1

Related Questions