hao32的个人日志

解决configure: error: Please reinstall the libcurl distribution

今天配置一台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

然后就可以继续了

2 评论

  1. Magento开发

    今天编译PHP.5.3.6的时候也遇到了, 谢谢分享。

  2. 谢谢,我也遇到此问题,用你方法已解决!

回复 Won 取消回复