|
|
Enabling curl in xampp - Apache
|
Views : 1205
|
|
Tagged in : Apache
|
|
|
Report This Scrap as Inappropriate We request you to choose the appropriate categroy and subcategory that suits your
objectionable concern about the scrap, So that our team can review and find out whether it violates our Guidelines or the
scrap is not suitable for all viewers.
|
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 |
|
|
|