Installation of Curl module
Get ready to install Apache curl module along with Apache 2 webserver and PHP.
# sudo apt install libapache2-mod-php php-curl
Time to estart the Apache webserver:
# Sudo service apache2 restart
Disable PHP curl module
To disable curl php module execute:
# phpdismod curl
# service apache2 restart
# curl localhost/curl-check.php
Curl: Disabled
Enable PHP curl module
To enable curl php module execute:
# phpenmod curl
# service apache2 restart
# curl localhost/curl-check.php
Curl: Enabled
Post Views: 1,202