How to install php curl in Ubuntu
Many times we come across web applications which are written in PHP and require curl extension. PHP curl functions can used through use of libcurl. The libcurl was create by Daniel Sternberg. With the help of libcurl you can connect and communicate with webserver using different protocols. To install curl library on your Ubuntu computer, you need to have LEMP (Linux nginx mysql php-fpm) set up ready. Once you have LEMP setup ready just type in following command in terminal to install curl library,
sudo apt-get install php5-curl
After successful installation you need to restart nginx. You can use below command to start Nginx
sudo service nginx restart