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

You Might Also Like...

3 Comments

  • Reply
    David
    March 30, 2012 at 11:22 pm

    thanks. this solved a silly but irritating problem I had.

  • Reply
    Kerekes
    August 9, 2012 at 8:52 pm

    Thank! Thet is Grat!

  • Reply
    abc
    October 15, 2012 at 5:34 am

    thats great

Leave a Reply

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