首页 > 代码库 > error: Please reinstall the libcurl distribution - easy.h should be in <curl-dir>/include/curl/

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

运行php-5.3.10


--enable-mbstring --enable-ftp --enable-gd-native-ttf --with-openssl --enable-pcntl --enable-sockets --with-xmlrpc --enable-zip --enable-soap --without-pear --with-gettext --enable-session --with-mcrypt --with-curl

时异常信息:


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


解决的方法:


yum install curl curl-devel

error: Please reinstall the libcurl distribution - easy.h should be in &lt;curl-dir&gt;/include/curl/