Heim  >  Artikel  >  php教程  >  安装php的curl拓展时遇到:configure: error: Please reinstall t

安装php的curl拓展时遇到:configure: error: Please reinstall t

WBOY
WBOYOriginal
2016-06-06 19:44:57853Durchsuche

http://blog.sina.com.cn/s/blog_75a07c3b0101kcwa.html 安装php的curl时,报如下错: configure: error: Please reinstall the libcurl distribution - easy.h should be in curl-dir/include/curl/ 找到某网友的解决方法: 今天配置一台server的php支持cur

http://blog.sina.com.cn/s/blog_75a07c3b0101kcwa.html


安装php的curl时,报如下错:

 configure: error: Please reinstall the libcurl distribution - 
     easy.h should be in /include/curl/                 


找到某网友的解决方法:


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

然后就可以继续了
Stellungnahme:
Der Inhalt dieses Artikels wird freiwillig von Internetnutzern beigesteuert und das Urheberrecht liegt beim ursprünglichen Autor. Diese Website übernimmt keine entsprechende rechtliche Verantwortung. Wenn Sie Inhalte finden, bei denen der Verdacht eines Plagiats oder einer Rechtsverletzung besteht, wenden Sie sich bitte an admin@php.cn
Vorheriger Artikel:PHP命名空间概念解析Nächster Artikel:PHP如何实现网址伪静态