PHP 7.1.2 here, I tried to compile it as usual, but this time. / configure fail with this error:
checking cURL on the default path ... not found
configure: error: reinstall the libcurl distribution - easy.h should be in / include / curl /
I'm on Debian Stretch (9).
I found that it is libcurl4-openssl-dev
installed in / usr / include / x 86_64-linux-gnu / curl when
./configure expect it in
/ include / curl / `
libcurl4-openssl-dev on debian Jessie sets curl to / usr / include / curl / when Stretch sets curl to / usr / include / x 86_64-linux-gnu / curl.
With the latest version of PHP compiled (7.1.1), I had no problems, but this time it failed.
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
installed packages
--with-curl =/usr/include/x86_64-linux-gnu/curl/, .
, , - ?