Configure: error: Please reinstall the libcurl distribution

User login

While trying to setup nginx web server, I received the following error on compilation of php from source: Configure: error: Please reinstall the libcurl distribution

As it turns out, curl-devel was not installed.

So after installing that, the problem was fixed.

For CentOS:

yum -y install curl-devel

Note:
More might be missing - if so try installing:

yum install freetype-devel libpng-devel libjpeg-devel libpng libjpeg t1lib  libc-client-devel  libmcrypt-devel gmp-devel mysql-devel 

Also check:
http://nightkidx.com/wp/

Tags: 
Server configuration, CentOS