I had many goes in installing Oracle Instant Client 10g and recompiling php and Apache for that, which both were working fine before this, with no success. Now I get this error when I try to use oci8: 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 /Library/WebServer/Documents/test.php on line 14 Oracle connection failed. Is there any proper tutorial to set Oracle Client with php on leopard? Thank you.