Hello everyone,
I'm pretty new to this site, so i apologize for my n00bishness.
My webserver is:
Windows 2k3 w/ sp1
IIS 6
PHP 5.1.4
I'm trying to get cURL to work, but with no avail.
This is what I've done.
First of all i got a basic HTML page working. So i know IIS is working okay.
Second to get PHP working i did the follow (and it worked):
1. Download PHP at http://www.php.net/downloads.php. Make sure you dowload the "zip package", the installer package won't work.
Extract the downloaded zip file to a directory of choice on your harddrive. The rest of this guide will assume you are using C:\PHP
Add C:\PHP to your path. From the Start menu, right click My Computer and select Properties. From the Advanced tab click the Environment Variables button. Under System Variable find Path and click Edit. At the end of what is already present in Variable Value add a semicolon ( and then C:\PHP.
Configure IIS. Open the Internet Information Services (IIS) Manager from Administrative Tools (found directly in the Start menu or in the Control Panel)
a) Web Service Extension. Click down to the Web Service Extension folder. Right click the folder and select Add New Web Service Extension. Set Extension Name to PHP and add C:\PHP\PHP5ISAPI.DLL to Required Files . Check Set Extension Status To Allowed.
b) Web Sites. Click down to Web Sites. Right click the folder and select Properties. From the Home Directory tab click the Configuration button. Click Add to add an Application Extension. Enter C:\PHP\PHP5ISAPI.DLL as Executable and PHP as Extension. Leave the rest as default and click Ok.
- All set! To test your PHP installation simply create text a file with the php extension, eg. test.php. Add the following three lines of text to it and then save it to your web site directory, eg. C:\INETPUB\WWWROOT. Then use your browser to read the file, eg. http://localhost/test.php
<?php
phpinfo();
?> [/I]
I got that info from:
http://www.tjitjing.com/blog/2006/05/php5-with-iis6-on-windows-server-2003.html
When i go to the link above (localhost link) the PHP info page pulls up perfectly.
Now from C:\PHP i copy pasted php.ini-dist into C:\Windows and renamed it php.ini
Within the php.ini i changed two things:
1. extension_dir = "C:\PHP\ext\"
2. And i uncommented the "extension=php_curl.dll
I also copy-pasted the libeay.dll into C:\Windows\System32
rebooted my Windows 2003 box, tried
Again, it came up but there is NO mention of "curl" anywhere on that page!
HELP! Please!
rudy