title: PHP Warning at startup while trying to load php_oci8.dll
body: <p>I'm using XAMPP and trying to configure Oracle connection for sql.</p>
  
  <p>I uncommented the line <code>extension=php_oci8.dll</code> and at first it ended up with an error (that oci.dll is missing), but later I downloaded instantclient from Oracle web pages. I tried with versions 10.2, 11.2, and 12.1 but neither worked. Obviously I've added the path to those libraries to my <code>PATH</code> env variable.</p>
  
  <p>The warning I'm getting at the startup of Apache is: <code>PHP Warning:  PHP Startup:  in Unknown on line 0</code></p>
  
  <p>The error when I'm trying to connect is: <code>PHP Fatal error:  Call to undefined function oci_connect() in ...</code></p>
  
  <p>I've tried with <code>php_oci8.dll</code> and <code>php_oci8_11g.dll</code>. Those files are in my <code>php/ext</code> directory (they were included in xampp), my instantclient is added to <code>PATH</code> and the warning doesn't show up if I disable those modules. I've tried restarting services and computer.</p>
  
  <p>Can you help me find a solution how to configure it correctly? I'm using Windows 8.1 with administrative privileges.</p>
  
  <p>BTW. My <code>phpinfo()</code> says that OCI8 is activated (but functions like <code>oci_connect</code> still don't work).</p>
  
  <p><strong>EDIT:</strong> When I tried running PHP manually I finally got the error to display what was wrong: <code>Unable to load dynamic library 'C:\Program Files (x86)\PHP\ext\php_oci8_11g.dll' - %1 is not a valid Win32 application. in Unknown on line 0</code> Can you help me find out where can I download a correct version?</p>