Hi.
I have a RedHat 7.2 server with Oracle 8.1.7 and Oracle-Apache web server with mod_plsql using PHP 4.2.1 as CGI, and I have a Windows NT server with Oracle 8.1.7.
When I connect to the database on Windows NT, Oracle return
"Warning: OCISessionBegin: ORA-12705: invalid or unknown NLS parameter value specified in /u01/oracle/product/817/Apache/Apache/htdocs/www/inne/kk.php"
That is the script:
<?php
putenv("ORACLE_HOME=/u01/oracle/product/817");
putenv("ORACLE_SID=kk");
putenv("NLS_LANG=POLISH_POLAND.EE8ISO8859P2");
if(!ocilogon('$user','$pass','$conn'){
echo"fail";
}
else{
echo"ok";
}
?>
on the same machine callin "sqlplus scott/tiger@kk" it connects immediately.
When I run this script from shell as user who is owner Apache, works fine.
All variables in .bash.profile for user-owner Apache are ok.
In database NLS_LANG is POLISH_POLAND.EE8ISO8859P2.
any ideas?
thx Krzysztof