将php连接到oracle [英] connect php to oracle
本文介绍了将php连接到oracle的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我们如何使用php连接Oracle远程服务器。我们可以将主机名,端口,数据库,用户名,密码传递给oci_connect()函数吗?
根据oci_connect()语法似乎是不可能的,有没有办法连接远程oracle服务器?
谢谢
解决方案
看一下oracle即时客户端。
看看oracle即时客户端。
是的我正在尝试但尚未成功。如果你有什么东西可以使用即时客户端,请参考网址。
谢谢
你有没有试过
http://www.oracle.com/technology/pub/notes/technote_php_instant.html
Hi,
How do we connect a Oracle Remote server using php. Can we pass hostname,port,db,username,password into the oci_connect() function?
As per oci_connect() syntax is seems to be not possible , is there any way to connect remote oracle server?
Thanks
解决方案
Have a look at the oracle instant client.
Have a look at the oracle instant client.Yes I am trying through it but not yet become success. If you have any stuff to work with instant client please refer the url.
Thanks
Did you try
http://www.oracle.com/technology/pub/notes/technote_php_instant.html
这篇关于将php连接到oracle的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文