PHP 5.6 & Debian - easy.h should be in <curl-dir>/include/curl/
configure: error: Please reinstall the libcurl distribution - easy.h should be in <curl-dir>/include/curl/ libcurl4-gnutls-dev package needs to be installed from debian repositories.
Code:
configure: WARNING: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers.
checking for gawk... no
checking for nawk... nawk
checking if nawk is broken... no
checking for cURL support... yes, shared
checking for cURL in default path... not found
configure: error: Please reinstall the libcurl distribution -
easy.h should be in <curl-dir>/include/curl/
root@server:/usr/src/php-5.6.4/ext/curl# find / -name easy.h
root@server:/usr/src/php-5.6.4/ext/curl#
root@server:/usr/src/php-5.6.4/ext/curl# apt-get install libcurl4-gnutls-dev