Assume you have already setup LAMP. To install or setup cURL on your Linux machine like Ubuntu, run the following line of shell command in your terminal:
sudo apt-get install curl libcurl3 libcurl3-dev php5-curl
Now you have PHP cURL installed, the next thing you need to do is to restart apache2, run the following command in your terminal:
sudo /etc/init.d/apache2 restart
source
No comments:
Post a Comment