Solve problems that curl can not be found when install php-yar

作者: shaneZhang 分类: 互联网技术 发布时间: 2019-09-01 13:02

Today I found a problem that curl can not be found when I install the php-yar. I am using the ubuntu os, and the output is `Please reinstall the libcurl distribution – easy.h should be in /include/curl/`

The solution is:

sudo apt-get install libcurl4-gnutls-dev
sudo apt-get install php7.0-curl
cd /usr/local/include
sudo ln -s /usr/include/x86_64-linux-gnu/curl curl

本页面支持繁体中文友好显示:Solve problems that curl can not be found when install php-yar

如果觉得我的文章对您有用,请随意打赏。如果有其他问题请联系博主QQ(909491009)或者下方留言!

发表回复