Question

cURL extension

Posted April 16, 2013 15k views
I'm hosting mybb forum on my server. One of my plugin need cURL extension. How can this be achieved? Thanks in advanced.

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
4 answers
Depending on the OS on your server, you can install curl:

Ubuntu - sudo apt-get install curl libcurl3 libcurl3-dev php5-curl

CentOS - yum search curl

Based on the results you get back, you can install the curl package you want. If you want to install curl for php. You should type: yum install php-curl

I hope that helps
Hi is process is same for php curl and cURL installation?

please help
curl (the binary itself) is installed on all droplets by default. You can install the php5-curl package to install the php curl extension on Ubuntu/Debian.

this worked for me:

sudo apt-get install curl libcurl3 libcurl3-dev php5-curl

but remember to restart Apache:

service apache2 reload

Submit an Answer