title: oci_parse(): and oci_execute(); warnings
body: <p>Started using oci_ functions in PHP.  Running into the subject error.</p>
  <p>My database file is as follows:</p>
  <pre><code>&lt;?php 
    $conn = oci_connect(&quot;user&quot;, &quot;pass&quot;, &quot;LOSINGMINDHOST&quot;);
    if (!$conn) {
       $e = oci_error();
       error_log(trigger_error(htmlentities($e['message'], ENT_QUOTES), E_USER_ERROR));
    }
  
    oci_close($conn);
  ?&gt;
  </code></pre>
  <p>Confirmed the above connection string is successful.</p>
  <p>Now, in my test file, I have the following:</p>
  <pre><code>&lt;?php
    include(&quot;include/database.php&quot;);
  
    $queryMain = oci_parse($conn, &quot;select * from sometable&quot;);
  
    oci_execute($queryMain);
  ?&gt;
  </code></pre>
  <p>Using the above, here is what I am getting on screen:</p>
  <pre><code>Warning: oci_parse(): supplied resource is not a valid oci8 connection resource in D:\htdocs\mysite\test.php on line 4
  Warning: oci_execute() expects parameter 1 to be resource, bool given in D:\htdocs\mysite\test.php on line 26
  </code></pre>
  <p>I am using PHP 7.4 on a Windows Server 2019.</p>
  <p>I checked the php.ini file to make sure the oci8 connections are available and/or uncommented out.</p>
  <p>What else do I need to make this work?</p>