Forum Moderators: coopster

Message Too Old, No Replies

PHP CURL Fails

PHP_CURL Fails on IIS7/VisTA

         

sa_techie

3:22 am on Apr 23, 2007 (gmt 0)

10+ Year Member



Trying to get curl running in the following environment:

Vista with IIS7
PHP 5.2.0

Tried the following things:

1) Put copies of libeay32.dll and ssleay32.dll into windows/system32

2) Uncommented extension=php_curl.dll in php.ini

3) Declared PHP path and PHP/ext path in System Env variables

4) Verified IUSR has permissions to read/exec all DLLs.

5) Restared computer repeatedly.

I get standard "Fatal error: Call to undefined function curl_init()" when I try to run curl, and there is no mention on curl in phpinfo().

Any ideas?

phparion

5:07 am on Apr 23, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



when cURL is installed properly you should see two lines and cURL heading in phpinfo() one about its version and one for its settings. if you cannot see that information it means you have not installed it properly.

when you see phpinfo() output on the very first block you see --with--*** kinda information try to see if you have this for cURL there, that will show you whether you php installation attempted to enable cURL while installation or not, if it is missing then (in linux you need to recompile) for windows I think you have to download the latest version making sure it has cURL support and reinstall it from scratch.

eelixduppy

12:27 pm on Apr 23, 2007 (gmt 0)



Welcome to WebmasterWorld, sa_techie!

If I'm not mistaken, I believe the windows binary has the extension already "installed" and you just have to enable it in php.ini. If this isn't the case, take a quick read of the installation procedures as you've likely missed something: [curl.haxx.se...]

Good luck! :)