Enabling curl in xampp - Apache Views : 1205
Tagged in : Apache
8 0
Send mail
Enabling curl in xampp

Curl module might not be enabled by default in xampp.
So we will receive the following error while using CURL in files
Fatal error: Call to undefined function curl_init() in E:\rajesh\bse-scrip\test.php on line 27


To enable curl library with XAMPP we need to modify the php.ini files in our xampp folder.
* Locate to
C:\Program Files\xampp\apache\bin\php.ini

* Uncomment the following line on your php.ini file by removing the semicolon.
;extension=php_curl.dll

* Restart your apache server.
* Check your phpinfo if curl was properly enabled.
By Sanju, On - 2009-10-07



    Login to add Comments .