Like Us Like Us Facebook Subscribe Subscribe us YouTube Whatsapp Share us Whatsapp Query Send your queries

Fixing undefined function curl_init() error Lampp

Fixing undefined function curl_init() error Lampp

Fixing undefined function curl_init() error Lampp : Are you getting “PHP Fatal error: Uncaught Error: Call to undefined function curl_init()” means cURL is a PHP extension is not installed.
This problem is generally occurred when you installed Lampp and forgot to install php_curl.

How to install php_curl :

First step : Stop apache
sudo service apache2 stop

Second Step install php_curl
Ubuntu / Debian
sudo apt-get install php-curl
OpenSUSE
sudo zypper install php5-curl
CentOS / RedHat
sudo yum install php-curl

Third step start apche
sudo service apache2 start

Leave a Reply

avatar

This site uses Akismet to reduce spam. Learn how your comment data is processed.

  Subscribe  
Notify of
Do you have any Query / Suggestion