简体   繁体   English

在Mac OSX Lion上使用PHP脚本访问Oracle DB

[英]Accessing Oracle DB using a PHP script on Mac OSX Lion

I wish to run a PHP script to access data from an Oracle DB on another machine. 我希望运行一个PHP脚本来从另一台计算机上的Oracle数据库访问数据。 PHP supports OCI8 which is used to access the Oracle DB. PHP支持用于访问Oracle DB的OCI8。 But this does not seem to work on Mac OS X Lion. 但这似乎不适用于Mac OS X Lion。 Does anyone know any other way to access data using PHP scripts? 有谁知道其他使用PHP脚本访问数据的方式吗?

Looks like oracle instant client 64 bit are broken for Lion, and there is no workaround. 看起来Lion的oracle即时客户端64位已损坏,并且没有解决方法。 Maybe compiling all 32bit? 也许编译所有32位? I didn't try, just using fusion with an ubuntu server with oci8 and instanc client properly working!!! 我没有尝试,只是将ubuntu服务器与oci8和instanc客户端一起使用正常工作!

According to the following thread, nothing changed for about 11 months regarding the absence of instant client updates for Mac OS X Lion: 根据以下主题,由于没有Mac OS X Lion的即时客户端更新,因此大约11个月没有发生任何变化:

https://forums.oracle.com/forums/thread.jspa?threadID=2318019 https://forums.oracle.com/forums/thread.jspa?threadID=2318019

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM