Ubuntu

How to enable curl in ubuntu system?

Hi, The following command to work on enable curl in ubuntu system,

go to terminal :

Once run the commands if you do not install the php.

sudo apt-get install apache2

sudo apt-get install php5

sudo apt-get install libapache2-mod-php5

sudo /etc/init.d/apache2 restart

After that run the following commands to enable curl :

sudo apt-get install php5-curl

sudo apt-get install php5-common ( this has JSON support )

sudo /etc/init.d/apache2 restart

3 thoughts on “How to enable curl in ubuntu system?”

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.