Page 1 of 1

Curl

PostPosted: 17. May 2006 07:17
by schnoodles
Hello i was just wondering how i can enable Curl functions through windows xampp ?

seeing as i get Fatal error: Call to undefined function curl_init()

PostPosted: 17. May 2006 08:46
by verwirrt
hi,

i think you have to enable the modul in php.ini:

just remove the semicolon in line

;extension=php_curl.dll

perhaps you have to copy libeay32.dll and ssleay32.dll to system32 directory in windows dir.

good luck

Pascal

PostPosted: 17. May 2006 11:41
by schnoodles
That didnt seem to work even by putting the 2 files in the system32 folder.

I did phpinfo( ); and there was nothnig in there about curl :\

PostPosted: 18. May 2006 00:02
by verwirrt
hi,

just tested it,

with xampp 1.5.2 without copying dlls,

do you edit:

\xampp\apache\bin\php.ini ?

Examples from

http://curl.haxx.se/libcurl/php/examples/

worked for me