Page 1 of 1

[solved] Problem with Curl and php.ini

PostPosted: 15. May 2009 20:04
by guischarf
Hello,

I am running XAMPP 1.7.1 (installer version) in Win XP SP3. When uncommenting (removing the ';') extension=php_curl.dll in \xampp\php\php.ini, apache will not start. No errors about this are logged in \xampp\apache\logs\error.log. Commenting the curl extension again fixes the problem.

php.ini is no longer in \xampp\apache\bin, as is used to be. Wondering if the problem has some relation to this fact.

Anybody knows how to fix this?

Thanks

Re: Problem with Curl and php.ini

PostPosted: 15. May 2009 20:32
by guischarf
I fixed it. The problem was that Curl requires that these two files: libeay32.dll and ssleay32.dll, found in xampp\php, be copied to winn\system or winn\system32 (documentation in php manual is not very clear, so I copied to both) or be present in you path. This is from php.net/curl

Note: Note to Win32 Users
In order to enable this module on a Windows environment, libeay32.dll and ssleay32.dll must be present in your PATH. You don't need libcurl.dll from the cURL site.