Sivo 悉见

configure: error: Please reinstall the libcurl distribution

匿名 · 更新于 2014/11/18 19:43:02

今天配置一台server的php支持curl的时候, 出现如下报错

checking for cURL in default path... not found
configure: error: Please reinstall the libcurl distribution -
easy.h should be in /include/curl/

其实就是curl的dev包没有安装, 解决方案:
终端下

# yum -y install curl-devel

可以