<p>I am having an issue setting up cURL with IIS 6.0, Windows Server 2003, PHP 5.2.6</p>

<p>I have installed to <code>C:\PHP</code></p>

<pre><code>set PHPRC = C:\PHP\php.ini
</code></pre>

<p>copied <code>ssleay32.dll</code> and <code>libeay32.dll</code> to <code>C:\PHP</code></p>

<p>in php.ini, uncommented the line</p>

<pre><code>extension=php_curl.dll

extension_dir="C:\PHP\ext"
</code></pre>

<p><code>c:\php\ext</code> has the dll <code>php_curl.dll</code></p>

<p><code>C:\PHP</code> is in <code>PATH</code></p>

<p>still getting </p>

<blockquote>
  <p>Fatal error: Call to undefined function curl_init()</p>
</blockquote>

Make sure php_curl.dll is in the directory listed under "extension_dir" in php.ini.  If it is already, try restarting IIS (Apache always needs a restart from me when making php.ini changes).
EDIT 1:
Try opening up a command prompt to c:\php and running:
```
```
php -c . -i | find /i "curl"
```
```
Does it come back with any output?  If so, IIS is using the wrong php.ini file.
EDIT 2:
Is c:\php in your PATH?  You can check with "echo %PATH%" from the command prompt.