Arshdeep Arshdeep - 9 months ago 52
PHP Question

How to enable curl, installed Ubuntu LAMP stack?

I have installed ubuntu Lamp stack. But the curl is not enabled, neither can I can find the extension listed in the INI file. I added manually but it didn't work either.

How should I enable Curl then?



sudo apt-get install php5-curl

After installing libcurl you should restart the web server with one of the following commands,

sudo /etc/init.d/apache2 restart OR sudo service apache2 restart