title: PHP-OCI connection
body: <p>I am new to PHP and am trying to connect to a oracle database on some server.</p>
  
  <p>However the php script is not executing properly.</p>
  
  <pre><code> &lt;?php
   echo "started \n";
   // Create connection to Oracle
   $conn = oci_connect("username", "password", "abc.def.ghi.com");
   if (!$conn) {
      $m = oci_error();
      echo $m['message'], "\n";
      exit;
   }
   else {
      print "Connected to Oracle!";
   }
   // Close the Oracle connection
   oci_close($conn);
   ?&gt;
  </code></pre>
  
  <p>It prints started, but after that it does not print any error or "Connected to Oracle".</p>
  
  <p>php -l filename.php gives "no syntax errors".</p>