cURL stands for the client URL. PHP CURL is a library, this can helps to communicate with other servers and it allows the user to create the HTTP requests in PHP on your PHP application, by default this extension is not installed in your instance, this post walk you through how to install CURL-PHP extension on your CentOS and Ubuntu Operating Systems.
On Ubuntu:
apt-get update
apt-get install php-curl
On CentOS:
yum update
yum install php-curl
Restart the webserver,
If you are using Ubuntu operating system use the command below,
NGINX:
service nginx restart
Apache:
service apache2 restart
If you are using CentOS operating system use the command below,
NGINX:
service nginx restart
Apache:
service httpd restart
Comments (0)