1 | initial version |
It appears that the cURL extension is not enabled or installed on your PHP installation. To fix this issue, you need to install and enable the cURL extension. The process to do this varies depending on your operating system and web server setup.
For Debian/Ubuntu-based systems:
Install the cURL extension for PHP:
sudo apt-get update
sudo apt-get install php-curl
Restart your web server. If you are using Apache, you can run:
sudo service apache2 restart
Or if you are using Nginx with PHP-FPM, you can run:
sudo service php-fpm restart
sudo service nginx restart
For CentOS/RHEL-based systems:
Install the cURL extension for PHP:
sudo yum install php-curl
Restart your web server. If you are using Apache, you can run:
sudo service httpd restart
Or if you are using Nginx with PHP-FPM, you can run:
sudo service php-fpm restart
sudo service nginx restart