configure: error: Please reinstall the libcurl distribution
When compiling php from source for nginx web server, i get error
1 2 3 4 5 |
checking for cURL support... yes checking if we should use cURL for url streams... yes checking for cURL in default path... not found configure: error: Please reinstall the libcurl distribution - easy.h should be in <curl-dir>/include/curl/ |
On checking, found curl-devel not installed
1 2 3 4 5 6 |
[root@vps1 php-5.2.8]# yum list|grep curl curl.x86_64 7.15.5-2.el5 installed curl.i386 7.15.5-2.el5 installed curl-devel.x86_64 7.15.5-2.el5 base curl-devel.i386 7.15.5-2.el5 base [root@vps1 php-5.2.8]# |
The problem is fixed by installing curl-devel
1 |
yum -y install curl-devel |
See Errors