09 November 2012

PHP error: configure: error: could not find curl/curl.h

While playing on a local machine, I got the following error:
configure: error: could not find curl/curl.h
ERROR: `/tmp/pear/temp/pecl_http/configure --with-http-curl-requests --with-http-zlib-compression --with-http-magic-mime=no --with-http-shared-deps' failed
The fix was to install on my Debian machine the libcurl4-openssl-dev package:
apt-get install libcurl4-openssl-dev

No comments:

Post a Comment