How to enable curl in PHP ubuntu?

To enable curl in PHP in ubuntu we simply need to install it. The following command can be used to install curl in ubuntu.

sudo apt-get install php5-curl


Now the next step would be restart apache using the following command

sudo /etc/init.d/apache2 restart

Enjoy!

Comments

Popular posts from this blog

Getting latitude, longitude, timezone using ip address.