php + Apache + Oracle Instant Client

Discussion in 'Mac Programming' started by Alazzawi, Jul 7, 2008.

  1. Alazzawi macrumors newbie

    Jul 7, 2008
    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.
  2. soryu macrumors newbie

    Aug 3, 2008
  3. daniloviz macrumors newbie

    Aug 4, 2008

Share This Page