How to remove error Call to undefined function curl_init()?

03-Nov-2020

.

Admin

In this example,I will learn you how to remove error call to undefined function curl_init() in php. you can esay and simply remove error call to undefined function curl_init() in php.

This error occurs when cURL library is not installed on your system or enabled in your PHP installation.

In order to resolve this error, install cURL library.

For Linux – Terminal Command :


sudo apt-get install php-curl

For Windows :

Go to your php.ini file and remove the ; mark from the beginning of the following line:

;extension=php_curl.dll

It will help you...

#PHP