PHP Curl and IIS

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.


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


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.

Leave a Reply

Your email address will not be published. Required fields are marked *

× 7 = fifty six

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>