title: Extensions does not loading
body: <p>I try to load few extensions from <code>php.ini</code> file, and for some reason, these extensions does not load, even when I point to their folder directly. I tried to find a solution all over the internet but this weird problem does not have any solution.</p>
  
  <p>Extensions part on my <code>php.ini</code> file:</p>
  
  <pre><code>; Directory in which the loadable extensions (modules) reside.
  ; http://php.net/extension-dir
  ;extension_dir = "./"
  ; On windows:
  ;extension_dir = "ext"
  extension_dir = "f:/namp/bin/php/7.4.6-ts/ext"
  
  [...] php stuff here [...]
  
  ;;;;;;;;;;;;;;;;;;;;;;
  ; Dynamic Extensions ;
  ;;;;;;;;;;;;;;;;;;;;;;
  
  ; If you wish to have an extension loaded automatically, use the following
  ; syntax:
  ;
  ;   extension=modulename
  ;
  ; For example:
  ;
  ;   extension=mysqli
  ;
  ; When the extension library to load is not located in the default extension
  ; directory, You may specify an absolute path to the library file:
  ;
  ;   extension=/path/to/extension/mysqli.so
  ;
  ; Note : The syntax used in previous PHP versions ('extension=&lt;ext&gt;.so' and
  ; 'extension='php_&lt;ext&gt;.dll') is supported for legacy reasons and may be
  ; deprecated in a future PHP major version. So, when it is possible, please
  ; move to the new ('extension=&lt;ext&gt;) syntax.
  ;
  ; Notes for Windows environments :
  ;
  ; - Many DLL files are located in the extensions/ (PHP 4) or ext/ (PHP 5+)
  ;   extension folders as well as the separate PECL DLL download (PHP 5+).
  ;   Be sure to appropriately set the extension_dir directive.
  ;
  ;extension=bz2
  extension="f:/namp/bin/php/7.4.6-ts/ext/php_curl.dll"
  ;extension=ffi
  ;extension=ftp
  extension=fileinfo
  extension=gd2
  ;extension=gettext
  ;extension=gmp
  ;extension=intl
  ;extension=imap
  ;extension=ldap
  extension=mbstring
  ;extension=exif      ; Must be after mbstring as it depends on it
  extension=mysqli
  ;extension=oci8_12c  ; Use with Oracle Database 12c Instant Client
  ;extension=odbc
  extension=openssl
  ;extension=pdo_firebird
  extension=pdo_mysql
  ;extension=pdo_oci
  ;extension=pdo_odbc
  ;extension=pdo_pgsql
  ;extension=pdo_sqlite
  ;extension=pgsql
  ;extension=shmop
  
  ; The MIBS data available in the PHP distribution must be installed.
  ; See http://www.php.net/manual/en/snmp.installation.php
  ;extension=snmp
  
  ;extension=soap
  ;extension=sockets
  ;extension=sodium
  ;extension=sqlite3
  ;extension=tidy
  extension=xmlrpc
  ;extension=xsl
  </code></pre>
  
  <p>A PHP script which I run to check for loaded extensions (<code>http://localhost/test.php</code>):</p>
  
  <pre><code>foreach (['mbstring', 'gd2', 'fileinfo', 'curl', 'mysqli', 'pdo_mysql', 'xmlrpc']
           as $extension) {
      $loaded = extension_loaded($extension) ? 'Loaded' : 'Not Loaded';
      echo "{$extension}: {$loaded}&lt;br&gt;";
  }
  </code></pre>
  
  <p>result:</p>
  
  <pre><code>mbstring: Loaded
  gd2: Not Loaded
  fileinfo: Loaded
  curl: Not Loaded
  mysqli: Loaded
  pdo_mysql: Loaded
  xmlrpc: Loaded
  </code></pre>
  
  <p>How can I solve this?</p>
  
  <p>I am using PHP.ini file created of <code>php.ini-production</code> on Windows 10 x64. PHP TS x64 for Apache</p>
  
  <p><strong>UPDATE</strong>: <code>php -m</code> returns:</p>
  
  <pre><code>[PHP Modules]
  bcmath
  calendar
  Core
  ctype
  curl
  date
  dom
  fileinfo
  filter
  gd
  hash
  iconv
  json
  libxml
  mbstring
  mysqli
  mysqlnd
  pcre
  PDO
  pdo_mysql
  Phar
  readline
  Reflection
  session
  SimpleXML
  SPL
  standard
  tokenizer
  xml
  xmlreader
  xmlrpc
  xmlwriter
  zip
  zlib
  
  [Zend Modules]
  </code></pre>
  
  <p>I've downloaded the latest version from <a href="https://windows.php.net/downloads/releases/php-7.4.6-Win32-vc15-x64.zip" rel="nofollow noreferrer">here</a></p>