<p>I'm running PHP 5.2.3 on Windows 2000 Server with IIS 5.  I'm trying
to get cURL working, so in my <strong>php.ini</strong> file, I have this line:</p>

<blockquote>
  <p>extension_dir ="F:\PHP\ext"</p>
</blockquote>

<p>And later, I have:</p>

<blockquote>
  <p>extension=php_curl.dll</p>
</blockquote>

<p>The file <strong>F:\PHP\ext\php_curl.dll</strong> exists, but when I try to run any PHP
script, I get this in the error log:</p>

<blockquote>
  <p>PHP Warning:  PHP Startup: Unable to load dynamic library 'F:\PHP\ext
  \php_curl.dll' - The specified module could not be found.
   in Unknown on line 0 </p>
</blockquote>

[{'answer_id': 12349, 'author': 'Derek Kurth', 'author_id': 1418, 'author_profile': 'https://Stackoverflow.com/users/1418', 'pm_score': 6, 'selected': True, 'text': '<p>Problem solved!</p>\n\n<p>Although the error message said <strong>The specified module could not be found</strong>, this is a little misleading -- it\'s not that it couldn\'t find <code>php_curl.dll</code>, but rather it couldn\'t find a module that <code>php_curl.dll</code> required.  The 2 DLLs it requires are <code>libeay32.dll</code> and <code>SSLeay32.dll</code>.</p>\n\n<p>So, you have to put those 2 DLLs somewhere in your PATH (e.g., <code>C:\\Windows\\system32</code>).  That\'s all there is to it.</p>\n\n<p>However, even that did not work for me initially.  So I downloaded the Windows zip of the latest version of PHP, which includes all the necessary DLLs.  I didn\'t reinstall PHP, I just copied all of the DLLs in the "ext" folder to my PHP extensions folder (as specified in the <code>extension_dir</code> variable in <code>php.ini</code>), and I copied the versions of <code>libeay32.dll</code> and <code>SSLeay32.dll</code> from the PHP download into my System32 directory.</p>\n\n<p>I also did an iisreset, but I don\'t know if that was necessary. </p>\n'}, {'answer_id': 12350, 'author': 'Patrik Svensson', 'author_id': 936, 'author_profile': 'https://Stackoverflow.com/users/936', 'pm_score': 3, 'selected': False, 'text': '<p>A tip is to use the <a href="http://www.wampserver.com/en/" rel="noreferrer">WAMP-installer</a>. Everything just works. It\'s not IIS though - so if it is important - you should ignore my advice. ;)</p>\n\n<p>EDIT: I saw that you found the solution so I voted it up. +1</p>\n'}, {'answer_id': 16996985, 'author': 'Blerta', 'author_id': 93278, 'author_profile': 'https://Stackoverflow.com/users/93278', 'pm_score': 1, 'selected': False, 'text': '<p>I keep having same problem although i did the suggestion above and many others suggested on the internet i get </p>\n\n<blockquote>\n  <p>Sorry, but this plugin requires libcurl to be activated on your\n  server.</p>\n</blockquote>\n\n<p>When i try to activate my plugin.</p>\n\n<p>Edited: I was using php 5.3.13 had win64 windows 7 and none of the soln was working for me.</p>\n\n<p>1.I had tried to copy the libeay32.dll SSLeay32.dll in windows\\system32 folder did not work\n2. Edited and uncommented both php.ini files did not work\n3. Activated php_curl in php extensions did not work\n4. Copied and replaced several times the <a href="http://www.anindya.com/php-5-4-3-and-php-5-3-13-x64-64-bit-for-windows/" rel="nofollow">www.anindya.com</a> version of php_curl.dll but seems i was downloading the wrong version of this. The version that worked for me was in Fixed curl extensions section the second file php_curl-5.3.13-VC9-x64 </p>\n\n<p>Hope this will help anyone else</p>\n'}, {'answer_id': 28591600, 'author': 'elQuique', 'author_id': 4580982, 'author_profile': 'https://Stackoverflow.com/users/4580982', 'pm_score': 4, 'selected': False, 'text': '<p><code>libeay32.dll</code> and <code>ssleay32.dll</code> have to be path-accessible for <code>php_curl.dll</code> to work correctly. </p>\n\n<p>In <strong>Control Panel</strong> -> <strong>Search</strong> -> <strong>Advanced System Settings</strong> and use the button <strong>Environment Variables</strong>. </p>\n\n<p>Under <strong>System Variables</strong> find <strong>Path</strong> add the <code>c:/php</code> folder (or whatever path) and restart Apache.</p>\n'}, {'answer_id': 54262364, 'author': 'profnotime', 'author_id': 1286381, 'author_profile': 'https://Stackoverflow.com/users/1286381', 'pm_score': 1, 'selected': False, 'text': '<p>Faced this problem when I upgraded the php in UwAmp to 7.2.*. The only solution that worked for me was to download the latest version of apache at the time (Apache/2.4.37 (Win32)) and replace the one that came with UwAmp. That also involved editing the sample httpd.conf to produce an httpd_uwamp.conf file. UwAmp needs this template to then generate the actual httpd.conf when it starts up. All other suggestions above didn\'t resolve it for me unfortunately. Also note that as of OpenSSL 1.1, libeay32.dll and ssleay32.dll are no longer required (see <a href="http://php.net/manual/en/curl.installation.php" rel="nofollow noreferrer">http://php.net/manual/en/curl.installation.php</a>)</p>\n'}, {'answer_id': 73602354, 'author': 'Maxim Rysevets', 'author_id': 10144421, 'author_profile': 'https://Stackoverflow.com/users/10144421', 'pm_score': 0, 'selected': False, 'text': '<p>In your case just add &quot;F:\\PHP\\ext&quot; to Environment Variable &quot;path&quot;.</p>\n'}]
['https://Stackoverflow.com/questions/12348', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/1418/']