How to remove error Call to undefined function curl_init()? Last Updated : 01 Nov, 2018 Comments Improve Suggest changes Like Article Like Report 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. For Linux - Terminal Command : sudo apt-get install php-curl 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 Comment More infoAdvertise with us Next Article How to remove error Call to undefined function curl_init()? S sarthak_ishu11 Follow Improve Article Tags : Technical Scripter Web Technologies PHP Technical Scripter 2018 Similar Reads How to install the ext-curl extension with PHP 7 ? The ext-curl CURL stands for client user, In Linux cURL is a PHP extension, that allows us to receive and send information via the URL syntax. And ext-curl is the extension in the latest PHP-7 which is loaded with some of the advanced features of the basic curls. The following are the steps to add e 1 min read How to handle the warning of file_get_contents() function in PHP ? The file_get_contents() function in PHP is an inbuilt function which is used to read a file into a string. The function uses memory mapping techniques which are supported by the server and thus enhances the performances making it a preferred way of reading contents of a file. The path of the file to 3 min read How to get Geolocation using PHP-cURL from IP Address ? Geolocation refers to the identification of the geographical location of a user or computer device. In this article, we will create a web page where the user can enter the IP Address of any device, and then the server will provide Geolocation of the IP address fetching the following details using t 2 min read How to add API function to a simple PHP Page ? Application Programming Interface is a system that contains a set of rules or protocols or tools which help in providing interaction between two applications or software by standard data access. It is very much similar to a web service used in developing web pages or mobile apps. One application can 4 min read How to get cookies from curl into a variable in PHP ? The cURL standing for Client URL refers to a library for transferring data using various protocols supporting cookies, HTTP, FTP, IMAP, POP3, HTTPS (with SSL Certification), etc. This example will illustrate how to get cookies from a PHP cURL into a variable. The functions provide an option to set a 2 min read Like