title: Not able to connect Oracle (oci_connect) using PHP 5.6.3 (64 Bit) using Windows Server 2012 and IIS 8
body: <p>I am trying to connect to my Remote Oracle DB using PHP 5.6.3 (64 bit) using IIS as my Webserver and My Windows Platform is: Windows Server 2014 (64 bit).</p>
  
  <p>I have downloaded the Oracle Instant Client 64 bit (instantclient-basic-windows.x64-12.1.0.2.0.zip) on my 2012 server. Then I extracted them in E:folder (E:\Oracleclient) and also I had set the environment variable path E:\Oracleclient. Also in my PHP.ini I have commented extension=php_oci8_12c.dll (I don't see php_oci8.dll in the PHP 5.6.3, however I did try to download and copied in the extension folder but its not working). </p>
  
  <p>My PHP Extension Path is also set properly under extension_dir and I have also set the environment variable path for the php where its located in c:</p>
  
  <p>Then when I am using the code to connect to the data base I get this error:</p>
  
  <pre><code>The website cannot display the page
  
    HTTP 500 
  
  
  Most likely causes:
  •The website is under maintenance.
  •The website has a programming error.
  
  
  What you can try:
  
  
  
    Refresh the page.  
  
  
  
    Go back to the previous page.  
  
  
  
  More information  More information  
  </code></pre>
  
  <p>my code:</p>
  
  <pre><code>&lt;?php
  
  $conn = oci_connect('username','pwd','service:port/sid');
  if ($conn) {
  
    echo "Connected to Oracle!";
  }
  
  oci_close($conn);
  
  ?&gt;
  </code></pre>
  
  <p>I cannot share the connection details but yes the one which I am using to connect is correct.</p>