Checking if php-curl is installed

If you wanna check if php-curl extension is installed in your system, type on terminal

sudo php -m | grep "curl"

If the response from the code above is empty, the extension is not being loaded with php. Then you can install it with:

CentOS

yum install php-curl

Ubuntu

sudo apt-get install php5-curl

Leave a Comment

Your email address will not be published. Required fields are marked *