title: The program cannot start because php7.dll is missing from your computer
body: <p>I am trying to deploy OCI8 with PHP7 and Apache 2.4.
  The database does not reside in my local pc. It is on a different server with Oracle 11g Enterprise version and 64bit architecture as well.</p>
  
  <p>I am unable to load oci8 on my local PC with the following settings</p>
  
  <pre><code>extension=php_oci8_11g.dll
  extension_dir = c:\php\ext
  </code></pre>
  
  <p>The <em>path</em> in system variables is properly updated with <strong>c:\php;</strong></p>
  
  <p>I have followed the instructions carefully <a href="https://www.oracle.com/technetwork/articles/dsl/technote-php-instant-084410.html" rel="nofollow noreferrer">https://www.oracle.com/technetwork/articles/dsl/technote-php-instant-084410.html</a></p>
  
  <p>I am using all versions with 64bit as my PC is running 64bit:</p>
  
  <ol>
  <li>mod_fcgid</li>
  <li>instantclient</li>
  <li>php7</li>
  <li>apache 2.4 </li>
  </ol>
  
  <p><strong>phpinfo()</strong> shows perfectly on my browser but it does not show a table for oci8. I then run the command <strong>php -m</strong> in cmd to double check the status, but I get the following popup:</p>
  
  <pre><code>The program cannot start because php7.dll is missing from your computer.
  Try reinstalling the program to fix the problem.
  </code></pre>
  
  <p>And the cmd window shows the following error:</p>
  
  <pre><code>Warning: PHP Startup: Unable to load dynamic library 'php_oci8_11g'
  (tried: C:\php\ext\php_oci8_11g (The specified module could not be
  found.), C:\php\ext\php_php_oci8_11g.dll (The specified module could 
  not be found.)) in Unknown on line 0
  </code></pre>
  
  <p>What could be the problem?</p>