How to Install & Enable Curl on Ubuntu LAMP Stack?
You only have to install the php5-curl library.
Alternative 1
You can do this by running
Alternative 2
the last thing restart apache.
Source: http://askubuntu.com/questions/9293/how-do-i-install-curl-in-php5
Alternative 1
You can do this by running
sudo apt-get install php5-curlYou will need to restart the server afterwards:
sudo service apache2 restart
Alternative 2
sudo apt-get update sudo apt-get install php5 sudo apt-get install libapache2-mod-php5 sudo apt-get install curl libcurl3 libcurl3-dev php5-curland then:
cd /etc/php5/apache2/ sudo nano php.iniand add this command: extension=curl.so
the last thing restart apache.
Source: http://askubuntu.com/questions/9293/how-do-i-install-curl-in-php5
Comments
Post a Comment