Apologies to my normal blog readers, this post is one that I am writing to help others that may need help getting PHP’s Curl up and running on IIS. You won’t find this post worthwhile unless you have Googled this problem.
Background:
1. Installed PHP 5.2.9-2 using the installer. Worked Fine
2. Could not access the Curl methods/functions.
The problem is that the file that you need is not included in the install. You need php_curl.dll
Fix:
1. Download the normal PHP Windows Binary Package
2. Unzip and find php_curl.dll
3. Place php_curl.dll in your installation directory usually c:\program files\php
4. Open php.ini in notepad
5. Find “Dynamic Extensions” in php.ini
6. Insert “extension=php_curl.dll” (without quotes) in php.ini in the Dyanamic Extensions section and SAVE the change.
7. Click “Start”, “Run”. Type in “IISRESET”.
You should now be able to use the Curl functions.