Here are step to install CURL support for php
In Ubuntu you can install it via below command
For Php5
sudo apt-get install php5-curl
For Php7.0
sudo apt-get install php7.0-curl
If you're using apt-get then you won't need to edit any PHP configuration, but you will need to restart your Apache.
// Restart your server
sudo /etc/init.d/apache2 restart
No comments