This discussion is archived
1 Reply Latest reply: Oct 24, 2013 8:52 PM by cj RSS

[LINUX] Warning: oci_connect() [function.oci-connect]: OCIEnvNlsCreate() failed.

Madhu.149 Newbie
Currently Being Moderated

Hello All,

 

When I execute check.php to connect and fetch records from database, I am getting the below error.

 

Warning: oci_connect() [function.oci-connect]: OCIEnvNlsCreate() failed. There is something wrong with your system - please check that LD_LIBRARY_PATH includes the directory with Oracle Instant Client libraries in /opt/lampp/htdocs/check.php on line 3

 

The LD_LIBRARY_PATH and ORACLE_HOME has been set

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points