Friday, September 5, 2025
HomeLanguagesHow to remove error Call to undefined function curl_init()?

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

Problem: Call to undefined function curl_init()?

Solution: 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.

  1. For Linux – Terminal Command :

    sudo apt-get install php-curl
  2. For Windows:
    Download cURL library from Official Website
    Go to your php.ini file and remove the ; mark from the beginning of the following line:

    ;extension=php_curl.dll

Reference: http://php.net/manual/en/curl.installation.php

RELATED ARTICLES

Most Popular

Dominic
32267 POSTS0 COMMENTS
Milvus
81 POSTS0 COMMENTS
Nango Kala
6635 POSTS0 COMMENTS
Nicole Veronica
11801 POSTS0 COMMENTS
Nokonwaba Nkukhwana
11865 POSTS0 COMMENTS
Shaida Kate Naidoo
6752 POSTS0 COMMENTS
Ted Musemwa
7026 POSTS0 COMMENTS
Thapelo Manthata
6703 POSTS0 COMMENTS
Umr Jansen
6720 POSTS0 COMMENTS