PHP 7.1.2 is here, i tried to compile it as usually but this time ./configure fail with these error:
checking for cURL in default path... not found
configure: error: Please reinstall the libcurl distribution - easy.h should be in /include/curl/
I'm on Debian Stretch (9).
I found libcurl4-openssl-dev
is installed in /usr/include/x86_64-linux-gnu/curlwhen
./configureexpect it in
/include/curl/`
libcurl4-openssl-dev on debian Jessie install curl in /usr/include/curl/ when Stretch install curl in /usr/include/x86_64-linux-gnu/curl.
With the last PHP version I compiled (7.1.1), I had no problems, but this time it failed.
To compile:
./buildconf --force && ./configure --prefix=/usr/local/php --with-config-file-path=/etc/php/lib --enable-bcmath --with-bz2 --with-zlib --enable-zip --enable-calendar --enable-exif --enable-ftp --with-gettext --with-gd --with-jpeg-dir --with-png-dir --with-freetype-dir --with-xpm-dir --enable-mbstring --enable-mysqlnd --with-mysqli=mysqlnd --with-pdo-mysql=mysqlnd --with-openssl --enable-intl --enable-soap --with-readline --with-curl --with-mcrypt --with-xsl --enable-sockets
curl
and libcurl4-openssl-dev
packages are installed
I tried with --with-curl=/usr/include/x86_64-linux-gnu/curl/ but it doesn't work.
I don't know how to solve this, can someone knows please ?