Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How do I go about installing PHP cURL on IIS? I have copied the php_curl.dll file into the PHP extensions folder, what else do I need to do?


share|improve this question
up vote 2 down vote accepted

You have to register the modul in the php.ini.

Look for:


And check for correct extension dir:

extension_dir = "c:/path to php/ext"
share|improve this answer
I've added extension=php_curl.dll to php.ini, and checked the directory is correct, but i'm still having no luck. Should cURL then appear on a phpinfo() once i've done those steps? – Probocop May 12 '10 at 15:07
yes it does appear. You have to restart the web server processes (depending on gateway cgi/fastcgi/iis-extension). – Bernd Ott May 31 '10 at 12:29

Your Answer


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.