Enabling curl in xampp

by Sanju 2009-10-07 17:00:26

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.

Tagged in:

2350
like
8
dislike
0
mail
flag

You must LOGIN to add comments