PHP & Oracle - oci_connect() ORA-12705: Cannot access NLS data files -


we've been using oracle on our server years, removed yesterday without clear warning , it's thrown our systems!

i've acted on advice cwallenpoole (thank you!) , have made progress, , php @ least including oracle functions (ie oci_connect) experiencing error message:

"warning: oci_connect() [function.oci-connect]: ora-12705: cannot access nls data files or invalid environment"

we have ensured tnsnames.ora etc files in correct place, still having no joy :(

thank you

ok. personal nightmare. wake in middle of night... or don't, have spent days on problem.

so, worked me:

  1. do have oracle instant client? if not it.
  2. do have oracle sdk? if not it.
  3. unzip instantclient.
  4. unzip sdk sub-directory
  5. add oracle_home exported command line variable ($oracle_home in *nix, %oracle_home% in win). have point fully-qualified path above instantclient folder.
  6. create oracle_bin , have point sdk.
  7. add oracle_home path.
  8. restart apache...

so... do... , works... mostly...

i think realistically can luck , godspeed.


Comments

Popular posts from this blog

c# - SharpSVN - How to get the previous revision? -

c++ - Is it possible to compile a VST on linux? -

url - Querystring manipulation of email Address in PHP -