Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

So I'm struggling to get php curl installed on my windows xp professional machine and I've probably tried 5 different sites which either dont' work or refers to missing file references like the ca certificates and such.

I'm looking to write a php script which logs into a site ssl, captures the page data using regex and emailing it to me. Before I can get there, I need ssl curl. I was wondering if someone can recommend a better site or tutorial which effectively walks me through that step by step.

thanks in advance.

share|improve this question

2 Answers 2

To enable curl with php you have to follow these steps:

  1. Find used php.ini file. You should just put in script (contents : <?php phpinfo(); ?>) in your inetpub, call it from browser and search for php.ini.

  2. Uncomment extension=php_curl.dll. You can do this by removing ; in front of line.

  3. Check that php_curl.dll exists in extension_dir . If it does not exist - download Win32 zip package of corresponding php version from http://php.net/downloads.php .

  4. Check that libeay32.dll and ssleay32.dll are found within path. You can get them by installing OpenSSL http://www.openssl.org/

share|improve this answer
    
i have php installed through IIS7 web platform installer.. im not sure where PATH is supposed to be.. but i find libeay32 and ssleay32.dll in C:\program files\PHP\v5.3 and all of the following are done and restarted.. but yet it cURL doesn't work. –  Power-Inside Jul 4 '11 at 4:03
    
^ refer: serverfault.com/questions/286499/… –  Power-Inside Jul 4 '11 at 6:36

I found the same thread on stack overflow

http://stackoverflow.com/questions/181082/how-do-i-install-curl-on-windows

however it focuses on apache running on windows. I need an install which works with IIS and PHP5

share|improve this answer
2  
you can edit your post. no need to add another answer :> –  Kristaps Aug 28 '09 at 23:04

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.