Post compiled php 5.4 curl installation

Posted by user140657 on Server Fault See other posts from Server Fault or by user140657
Published on 2012-10-11T19:59:48Z Indexed on 2012/10/12 15:39 UTC
Read the original article Hit count: 349

Filed under:
|
|
|
|

I recently compiled php 5.4 from source. I have Centos 6. I used this configuration:

# ./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql
# make
# make install
# cp php.ini-dist /usr/local/lib/php.ini

I realize now that I do not have cURL installed. I don't know how to install cURL after a compiled installation of php. Using yum install php-curl installs cURL for php 5.3. I tried this already with an apache restart and it did not show up on my phpinfo file.

How do I install cURL under these circumstances?

© Server Fault or respective owner

Related posts about linux

Related posts about php