title: Windows Server (IIS) + PHP7.4 - problem with curl
body: <p>I have a strange problem with curl - one version doesn't work with CLI, but works with the web, the other one doesn't work with web, but works with CLI.</p>
  <p>I have two DLL files: <code>php_curl.dll</code> (v7.4.1 - works with CLI) and <code>php_curl_2.dll</code> (v7.3.1 - works with web). I don't have a separate <code>php.ini</code> for the CLI.</p>
  <p>With v7.3.1 loaded CLI can't find the module, although it looks for the correct path:</p>
  <pre><code>extension=php_curl2.dll
  </code></pre>
  <p>gives</p>
  <blockquote>
  <p>PHP Warning:  PHP Startup: Unable to load dynamic library 'php_curl2.dll' (tried: C:...\php_curl2.dll (Can't find given module.), C:...\php_php_curl2.dll.dll (Can't find given module.)) in Unknown on line 0</p>
  </blockquote>
  <p>The first path is correct, the second one adds prefix &amp; suffix, so I tried <code>extension=curl2</code>, but with a similar result (just the first path is incorrect and the second one correct).</p>
  <p>With v7.4.1 situation is analogous, but the other way round: can't load module for the web, but for the CLI is OK.</p>