title: OpenSSL Support disabled in Apache 2.4/PHP 7.4.4
body: <p>I'm trying to setup Apache MariaDB PHP manually but I'm running into some issues with the openssl feature.
  Here are the steps I took to setup Apache 2.4 and PHP 7.4.4:</p>
  
  <p>I. Apache httpd Installation and configuration</p>
  
  <ol>
  <li>Download and Extract <a href="https://www.apachelounge.com/download/VS16/binaries/httpd-2.4.43-win64-VS16.zip" rel="nofollow noreferrer">httpd-2.4.43-win64-VS16.zip</a> from apachelounge to "D:\Programs-64Bit\Apache24"</li>
  <li>Set <code>ServerRoot</code> in httpd.conf with full path</li>
  <li>Set <code>ServerName</code> to <code>localhost:80</code></li>
  <li>Define <code>WWWROOT</code> with desired DocumentRoot path in httpd.conf (i.e. <code>Define WWWROOT "E:/Programs/WWW"</code>)</li>
  <li>Set <code>DocumentRoot</code> and <code>&lt;Directory&gt;</code> values to <code>"${WWWROOT}"</code></li>
  </ol>
  
  <p>II. Combining PHP with apache</p>
  
  <ol>
  <li>Download and Extract Thread Safe <a href="https://windows.php.net/downloads/releases/php-7.4.4-Win32-vc15-x64.zip" rel="nofollow noreferrer">php-7.4.4-Win32-vc15-x64.zip</a> to "D:\Programs-64Bit\PHP\PHP7.4.4-64Bit"</li>
  <li>Add the following lines at the end of httpd.conf:</li>
  </ol>
  
  <blockquote>
  <pre><code>Define PHPROOT "D:/Programs-64Bit/PHP/PHP7.4.4-64Bit"
  LoadModule php7_module "${PHPROOT}/php7apache2_4.dll"
  AddType application/x-httpd-php .php
  PHPIniDir "${PHPROOT}"
  
  LoadFile "${PHPROOT}/libcrypto-1_1-x64.dll"
  LoadFile "${PHPROOT}/libssl-1_1-x64.dll"
  LoadFile "${PHPROOT}/libssh2.dll"
  LoadFile "${PHPROOT}/nghttp2.dll"
  LoadFile "${PHPROOT}/php7ts.dll"
  </code></pre>
  </blockquote>
  
  <ol start="3">
  <li>Copy and rename php.ini-development to the same php root directory as php.ini</li>
  <li>set extension_dir and enable every single extension except oci8_12c, pdo_firebird, pdo_oci and snmp</li>
  </ol>
  
  <p>III. Testing PHP with Apache</p>
  
  <ol>
  <li>Create a php file (index.php) with the following code:</li>
  </ol>
  
  <blockquote>
  <pre><code>&lt;?php 
       phpinfo();
  ?&gt;
  </code></pre>
  </blockquote>
  
  <ol start="2">
  <li>run httpd.exe</li>
  </ol>
  
  <p>This is what it tells me about openssl:</p>
  
  <p><a href="https://i.stack.imgur.com/N8xoO.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/N8xoO.png" alt="image showing the phar section of phpinfo. openssl support is disabled"></a></p>
  
  <p>according to "<a href="https://stackoverflow.com/questions/41707783/openssl-support-disabled-in-apache-php-on-windows">OpenSSL support disabled in Apache/PHP on Windows</a>" on StackOverflow and the last comment in the php.net page "<a href="https://www.php.net/manual/en/openssl.installation.php" rel="nofollow noreferrer">PHP Manual > Function Reference > Cryptography Extensions > OpenSSL > Installing/Configuring</a>" it should be working. what am I doing wrong?</p>