Fatal error: Call to undefined function curl_init()

New problem show up after install xampp portable :

Fatal error: Call to undefined function curl_init()

Hmm, seem that xampp not enable curl by default. To overcome this problem just open php.ini file that located in c:\xampp\php\php.ini using notepad.

Find ‘curl’  and hit enter :

;extension=php_curl.dll

remove ‘;’ sign, save the file.

Go to xampp folder.

Click ‘xampp_stop’ followed by ‘xampp_start’.

Done. You have working curl function that you can check using phpinfo() function.

 

Comments are closed, but trackbacks and pingbacks are open.

GIft Ideas