plz help me Warning: oci_connect(): OCIEnvNlsCreate() failed. There is something wrong with your system - please check that PATH includes the directory with Oracle Instant Client libraries.etc.. I was trying to connect to oracle on a remote server with oci. I do intall the instant client and change the environment varible PATH, but it just doesn't work. It exhausted me. And by the way, i'm on windows and the oracle is on Solaris, and i'm a php beginner
I try not to use windows if possible, so i dont recall exactly if i've ever had any problems using it, but its not usually too complex to get oci8 working.... Have you uncommended the oci8 class (dll) in php.ini? Does phpinfo() show that oci8 support is enabled? Do you have the ORACLE_HOME and NLS_LANG variables set in your envars file?
yes, i uncommended the oci8 class in php.ini. I didn't find anything realated to oci8 support, there is no such keyword... And I was told ORACLE_HOME and NLS_LANG are not necessary to make oci8 work...I thought it was enough to put the instant client path at PATH varible.
Hiya, If OCI8 isnt showing in your php.ini, there must be a path or dll missing. Have you followed every step detailed here? http://www.oracle.com/technology/pub/notes/technote_php_instant.html Also, take a look at the "What if PHP OCI8 is not installed or not found?" section on the wiki http://wiki.oracle.com/page/PHP+Oracle+FAQ
Thank you so much, finally my oci works. It turns out that it's the same problem with my gd, i didn't set the extension_dir correctly in php.ini.