title: can not connect to oracle database using php
body: <p>I am using XAMPP version 5.6.15 to run my PHP file on windows 10. </p>
  
  <p>But I am getting this error message: </p>
  
  <blockquote>
    <p>Fatal error: Call to undefined function oci_connect() in F:\xampp\htdocs\Sbank\index.php on line 4</p>
  </blockquote>
  
  <p>According to PHP <a href="http://php.net/manual/en/function.oci-connect.php" rel="nofollow">docs</a> everything should work fine.</p>
  
  <pre><code>&lt;?php
  
  $conn = oci_connect('admin', 'admin', 'localhost/JDT');
  if (!$conn) {
      $e = oci_error();
      trigger_error(htmlentities($e['message'], ENT_QUOTES), E_USER_ERROR);
  }
  
  $stid = oci_parse($conn, 'SELECT sysdate FROM dual');
  oci_execute($stid);
  
  echo $stid;
  
  
  ?&gt;
  </code></pre>