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:
- do have oracle instant client? if not it.
- do have oracle sdk? if not it.
- unzip instantclient.
- unzip sdk sub-directory
- add oracle_home exported command line variable ($oracle_home in *nix, %oracle_home% in win). have point fully-qualified path above instantclient folder.
- create oracle_bin , have point sdk.
- add oracle_home path.
- restart apache...
so... do... , works... mostly...
i think realistically can luck , godspeed.
Comments
Post a Comment