title: Fatal error: Uncaught Error: Call to undefined function oci_connect()
body: <p>I am having problems with <code>oci_connect()</code> in PHP. I can't connect with an Oracle Database, after I had installed the <code>Oracle InstantClient(32 Bit)</code> and copied the required *.dll's in the <code>apache/bin/</code> and <code>xampp/php</code> folders.</p>
  
  <p>I get this:</p>
  
  <blockquote>
    <p>Fatal error: Uncaught Error: Call to undefined function oci_connect()
    in C:\xampp\htdocs\OracleTest\connect.php:9 Stack trace: #0 {main}
    thrown in C:\xampp\htdocs\OracleTest\connect.php on line 9.</p>
  </blockquote>
  
  <p>There is also the Problem that I am unable to load the dynamic libraries:</p>
  
  <blockquote>
    <p>PHP Warning:  PHP Startup: Unable to load dynamic library
    'C:\xampp\php\ext\php_oci8_11g.dll' - The specified module could not
    be found. in Unknown on line 0</p>
    
    <p>Warning: PHP Startup: Unable to load dynamic library
    'C:\xampp\php\ext\php_oci8_11g.dll' - The specified module could not
    be found. in Unknown on line 0</p>
  </blockquote>
  
  <p>My Code is this:</p>
  
  <pre><code>$oc_conn = oci_connect('127.0.0.1/XE','****', '****');
      if($oc_conn)
      {
          echo "Success!!!";
      }
      else
      {
          $e = oci_error();
          trigger_error(htmlentities($e['message'], ENT_QUOTES), E_USER_ERROR);
      }
  </code></pre>
  
  <p>I am struggling on that Problem for over 3 weeks..I really need help, thank you in advance.</p>