title: PHP with OCI8 Oracle connection on Windows 10 x64 and Windows Server 2008 x64
body: <p>I am struggling with the setup of an Oracle database connection in Windows x64</p>
  
  <p>My system:</p>
  
  <ul>
  <li>Windows 10 x64 as client PC  </li>
  <li>Windows Server 2008 x64 as DBServer in the local network</li>
  <li>PHP 7.2 TS Windows x64 installation Oracle Database</li>
  <li>11.2 Oracle Database Client (present installation of 2014 do not now version, must be a x64 because it runs on server 64 bit)</li>
  </ul>
  
  <p>Other Connections:</p>
  
  <ul>
  <li>SQL Plus connection is working on server and on client PC SQL</li>
  <li>Developer is connected to Database on server and works on client PC too.</li>
  </ul>
  
  <p>Just the connection over PHP to the Database is making huge problems.</p>
  
  <p>I know it is a x64 system so I installed the php 7.2 TS for windows x64.
  I do not even come to connect to the Oracle Database Client... because the installation of the oci8.dll extension is failing.</p>
  
  <p>What I did so far:
  I uncommented the extentinos in the php.ini: OCI8.dll and the OCI8_11g.dll and put it into the php/ext directory.
  I set an absolute path to the ext-folder in php.ini</p>
  
  <p>When trying to load php in the command prompt with extention oci8 or oci8_11g enabled it says:
  [path to the ext] not a Windows32 application or ...dll not found - but the directory is correct and the ddl-file is there.</p>
  
  <p>I tried to set up an apache server from apachelounge build x64 and it is running. PHP7 is installed as an implemented apache module and the oci8 is enabled. But still it does give me the PHP warning message of [path to the ext] not ...dll not found.
  I do not know what to do now. My windows 10 is a new installation. I did not change the system variables. PHP is just not taking the extesion.</p>
  
  <p>You can find the phpinfo of my client PC uploaded as a screenshot here:
  <a href="https://ibb.co/iPJ4W7" rel="nofollow noreferrer">https://ibb.co/iPJ4W7</a></p>
  
  <p>Any suggestions?</p>
  
  <p>Thank you for your help.</p>