簡體   English   中英

編譯Composer時出錯

[英]Error while compiling Composer

我正在運行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

我可以安全地忽略此錯誤嗎? 我將來會遇到什么問題?

不必總是(重新)編譯PHP。 對我來說,安裝php5-curl並重新啟動Apache就足夠了:

$ sudo apt-get install php5-curl
$ sudo /etc/init.d/apache2 restart

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM