ocilogon error
| From: | Adam Williams | Date: | Wed, 31 Mar 2004 13:51:07 +0000 |
| Subject: | ocilogon error | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-33723@lists.php.net to get a copy of this message | ||
Hi, I have oracle and PHP working together on a remote server called zed
that runs redhat linux. I have another computer called accessserver
that runs win2k pro with PHP that I am trying to connect to oracle on
zed. Both computers have the oracle client libraries installed. On
accessserver I have the code:
<?php
$conn = ocilogon("user","pw","zed.aleph0") or die .ora_error();
if ($conn)
{ echo "connection to oracle successful"; }
?>
When I run this I get the error:
Warning: ocilogon(): OCISessionBegin: ORA-12705: invalid or unknown NLS
parameter value specified in C:\htdocs\oracleconnect.php on line 2
I've tried looking on google for the NLS parameter but I'm not having much
luck. Anyone able to help? Thanks!