hello. Please help me!!!
I have two hosts :
Host A , Linux + Oracle 8.1.6server+ PHP4
Host B , win2000 + Oracle 8.1.6 server
At Host A I can use SQLPLUS log on Host B. but PHP4 can't logon :
Warning: _oci_open_server: Error while trying to retrieve text for error ORA-12154
My code is :
putenv("ORACLE_SID=ORADB");
putenv("ORACLE_HOME=D:\ORACLE\ORA81");
$ociusername = "qjyservices";
$ocipassword = "sobeauty";
$sid = "oradb";
$conn = OCILogon($ociusername,$ocipassword,$sid);
thanks very much !
I have two hosts :
Host A , Linux + Oracle 8.1.6server+ PHP4
Host B , win2000 + Oracle 8.1.6 server
At Host A I can use SQLPLUS log on Host B. but PHP4 can't logon :
Warning: _oci_open_server: Error while trying to retrieve text for error ORA-12154
My code is :
putenv("ORACLE_SID=ORADB");
putenv("ORACLE_HOME=D:\ORACLE\ORA81");
$ociusername = "qjyservices";
$ocipassword = "sobeauty";
$sid = "oradb";
$conn = OCILogon($ociusername,$ocipassword,$sid);
thanks very much !