Hi,

I've tried installing php with oracle support to my RedHat Linux server. Im
recieving this error when executing a sample Ora fucntion to connect to the
oracle database.My oracle database works fine but my script canot connect.
I've tried this sample script with my AIX server but it works fine.  I
really dont know why ...
Please help. heres my sample connect script:

PutEnv("ORACLE_SID=oracle");
PutEnv("ORACLE_HOME=/home/oracle/OraHome1");

$connection = Ora_Logon("system","manager");


if($connection==false){
        echo Ora_ErrorCode($connection).":". Ora_error($connection)."<BR>";
exit;
}



And heres my warning error:

Warning: Oracle: Connection Failed: Error while trying to retrieve text for
error ORA-12546 in /home/www/htdocs/selecting.php on line 9

Warning: ora_errorcode(): supplied argument is not a valid
Oracle-Connection/Cursor resource in /home/www/htdocs/selecting.php on line
13

Warning: ora_error(): supplied argument is not a valid
Oracle-Connection/Cursor resource in /home/www/htdocs/selecting.php on line
13
:



I can connect to oracle remotely with my sqlplus using this account. Is
thereanything that i didnt know when settingup php with oracle in redhat
linux?



Thanks in advance.



Regards,
Mike


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to