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 Comments
David · March 30, 2012 at 11:22 pm
thanks. this solved a silly but irritating problem I had.
Kerekes · August 9, 2012 at 8:52 pm
Thank! Thet is Grat!
abc · October 15, 2012 at 5:34 am
thats great