Link to home
Start Free TrialLog in
Avatar of bromley_college
bromley_college

asked on

Call to undefined function curl_init() Windows Server 2008

Hi

I cannot get Curl to work in PHP 5.2.14 on Windows Server 2008 64 bit.

I have FastCGI non threadsafe setup and working.

The extension is enabled, the extension_dir is set correctly and I have tried copying msvcr70, ssleay32 and libeay32 to both c:\php and c:\windows\system32.

Is Curl compatible with 64bit Windows?

I have tried php -m in command and I get the error zlib.dll is missing. Could this have something to do with it?

What can I do to get CURL working?

Thanks
Avatar of Ray Paseur
Ray Paseur
Flag of United States of America image

Curl has to be compiled into PHP.  I do not know if it works with 64bit, but you could ask Haxx.
http://us.php.net/manual/en/curl.installation.php
Hmm... See also this:
http://us.php.net/manual/en/migration53.windows.php

"There is now experimental support for x64 versions of PHP on Windows."
http://windows.php.net/
Avatar of bromley_college
bromley_college

ASKER

Any idea how I install the curl?

Ive downloaded the Win64 exe but get the error 'The application has failed to start becauses its side by side configuration is incorrect'

Regads

Colin
ASKER CERTIFIED SOLUTION
Avatar of bromley_college
bromley_college

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Congrats!
found the solution myself