Chinaunix
标题:
高手帮忙!
[打印本页]
作者:
windlilac
时间:
2003-03-24 18:44
标题:
高手帮忙!
两台linux服务器,一台是web server,apache+php+oracle8i客户端,一台是database server,oracle8i数据库.tnsname.ora已经设置好了,在web服务器用sqlplus命令 test@database可以连接database的数据库,可是写php的时候
putenv("ORACLE_SID=Database"
;
$conn=OCILogon("test@database","test"
;
报错Warning: _oci_open_server: Error while trying to retrieve text for error ORA-12546
请问高手这是什么原因,如何解决,
欢迎光临 Chinaunix (http://bbs.chinaunix.net/)
Powered by Discuz! X3.2