configure: error: Please reinstall the libcurl distribution

configure: error: Please reinstall the libcurl distribution

编译php出现错误:

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

解决方法:

# yum install -y libcurl-devel