title: Unable to load dynamic library 'C:\xampp\php\ext\php_oci8.dll' - %1 is not a valid Win32 application
body: <p>I am getting this error when I start my xampp server. </p>
  
  <blockquote>
    <p>C:\xampp\php\ext\php_oci8.dll' - %1 is not a valid Win32 application.</p>
  </blockquote>
  
  <p>I downloaded <code>php_oci8-2.0.8-5.6-ts-vc11-x86</code> and extracted <code>php_oci8.dll</code> into <code>C:\xampp\php\ext</code> directory.</p>
  
  <p>Also, I downloaded <code>instantclient-basic-nt-12.1.0.2.0</code> (32 bit version) and added the same to the PATH variable of windows.</p>
  
  <p><code>C:\OracleBasicClient\instantclient-basic-nt-12.1.0.2.0\instantclient_12_1</code> added to PATH</p>
  
  <p>Still, I'm getting this error and not sure why it is coming.</p>
  
  <p>My windows is 64 bit.</p>
  
  <p>PHP info (xampp)</p>
  
  <p><strong>System</strong>  Windows NT 6.1 (Windows 7 Professional) i586 <br/>
  <strong>Compiler</strong>    MSVC11 (Visual C++ 2012) <br/>
  <strong>Architecture</strong>    x86 <br/>
  <strong>Thread Safety</strong>   enabled <br/></p>
  
  <p>What am I possibly doing wrong and how can I fix it?</p>