If "sudo apt-get install php-curl" command doesnt work and display error
We should run this code before install curl.
- step1 - sudo add-apt-repository ppa:ondrej/php
- step2 - sudo apt-get update
- step3 - sudo apt-get install php-curl
- step4 - sudo service apache2 restart