ITPub博客

首页 > IT职业 > IT生活 > error: Please reinstall the

error: Please reinstall the

IT生活 作者:leviyang 时间:2021-09-09 09:16:07 0 删除 编辑


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

然后就可以继续了


来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/2880/viewspace-2801567/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2019-08-19

  • 博文量
    77
  • 访问量
    641