编译php出现错误: configure: error: Please reinstall the libcurl distribution - easy.h should be in <curl-dir>/include/curl/ 解决方法: # yum install -y libcurl-devel…
今天配置一台server的php支持curl的时候, 出现如下报错 checking for cURL in default path... not foundconfigure: error: Please reinstall the libcurl distribution -easy.h should be in /include/curl/ 其实就是curl的dev包没有安装, 解决方案:终端下 # yum -y install curl-devel 可以…
configure: error: Please reinstall the libcurl distribution - easy.h should be in /include/curl/ 基本上确定是丢失了什么包所致,上网搜索得到需要事先安装的依赖包. # RetHat CentOS or Fedora 使用下面安装命令 yum install curl curl-devel # Debian or Ubuntu使用下面的安装命令 apt-get install curl apt-get…
今天配置一台server的php支持curl的时候, 出现如下报错 checking for cURL in default path... not foundconfigure: error: Please reinstall the libcurl distribution -easy.h should be in /include/curl/ 其实就是curl的dev包没有安装, 解决方案:终端下 # yum -y install curl-devel 然后就可以继续了…