Installing cURL on WindowsXP / IIS
Tonight I was messing around with PHP's cURL - A command line tool for getting or sending files using URL syntax. It all started because I need to handle cookies in PHP. After an hour or so, I finally go it to work on Windows XP / IIS. I wanted to give credit to the 3-4 web pages that helped me.
PHP: Curl - download information
blog.igeek.info
Tony Spencer
Basically in a nutshell:
* make sure msvcrt.dll is in your System Folder
When I started this, I downloaded libeay32.dll, ssleay32.dll off the internet and stuck it in the System32 folder. For good half hour I was frustrated as to why it wouldn't work. Finally, I copied over the two files from the PHP folder and VOILA - it worked.
To check, I just created a quick phpInfo() and there it was:

Now the fun part begins....
PHP: Curl - download information
blog.igeek.info
Tony Spencer
Basically in a nutshell:
- uncomment the line in your php.ini where it says php_curl.dll and save the file
- copy php4ts.dll and libeay32.dll, ssleay32.dll(these last two found in the "dlls" directory of your PHP directory) to SYSTEM (System32 for XP) folder
- restart IIS(you might've to restart windows if you are on Windows 2000 or if you don't have php.ini path specified in the registry)
* make sure msvcrt.dll is in your System Folder
When I started this, I downloaded libeay32.dll, ssleay32.dll off the internet and stuck it in the System32 folder. For good half hour I was frustrated as to why it wouldn't work. Finally, I copied over the two files from the PHP folder and VOILA - it worked.
To check, I just created a quick phpInfo() and there it was:
Now the fun part begins....
0 Comments:
Post a Comment
<< Home