title: OCIEnvNlsCreate() failed. When i try to connect my oracle database in php
body: <p>phpinfo</p>
  
  <pre><code>_ENV["ORACLE_HOME"] C:\oracle\instantclient_11_2\
  _ENV["OS"]  Windows_NT
  _ENV["Path"]    C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\oracle\instantclient_11_2;\;
  </code></pre>
  
  <p>oci8</p>
  
  <pre><code>OCI8 Support    enabled
  Version     1.2.5
  Revision    $Revision: 1.269.2.16.2.43 $
  Active Persistent Connections   0
  Active Connections  0
  Temporary Lob support   enabled
  Collections support     enabled 
  </code></pre>
  
  <p>php code</p>
  
  <pre><code>&lt;?php
       $conn = OCILogon('mppd1','mppd1', "121.256.476.86:1521/mydatabase");
  
  $query = 'select * from users';
  
  $stid = OCIParse($conn, $query);
  //OCIExecute($stid, OCI_DEFAULT);
  while ($succ = OCIFetchInto($stid, $row)) {
  foreach ($row as $item) {
  echo $item." ";
  }
  echo "&lt;br&gt;\n";
  }
  
  OCILogoff($conn);
  ?&gt;
  </code></pre>
  
  <p>i am getting this error</p>
  
  <pre><code>Severity: Warning
  
  Message: ocilogon() [function.ocilogon]: OCIEnvNlsCreate() failed. There is something wrong with your system - please check that PATH includes the directory with Oracle Instant Client libraries
  </code></pre>