如何将PHP连接到Oracle9i服务器
我阅读了有关此的一些步骤,但我无法真正理解。我使用 wamp 服务器和 PHP 5.3.5 来实现此目的。我尝试通过检查 PHP>PHP 扩展>php_oci8 来使用 php_oci8.dll,但出现错误消息“
PHP Startup: Unable to load dynamic library 'c:/wamp/bin/php/php5.3.5/ext/php_oci8.dll - The specified module could not be found
当我转到路径时,php_oci8.dll 就在那里”。我该如何解决这个问题?有人可以告诉我如何配置它以便我可以连接到远程服务器吗?
I read some steps about this one but I can't really get it. I'm using wamp server for this with PHP 5.3.5. I tried to use the php_oci8.dll by checking the PHP>PHP extensions>php_oci8 but I get an error saying
PHP Startup: Unable to load dynamic library 'c:/wamp/bin/php/php5.3.5/ext/php_oci8.dll - The specified module could not be found
When I go to the path the php_oci8.dll is there. How can I fix this? Can anybody give me a steps on how can I configure it so that I can connect to a remote server?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
尝试在此处下载最新版本的dll php_oci8-1.4.1-5.2-vc6-x86.zip
Try to download the latest version of the dll here php_oci8-1.4.1-5.2-vc6-x86.zip
我已经想通了!这是我的解决方案:
Oracle XE (C:\Oracle\OUIHome\bin\oci.dll) 然后将其粘贴到 9i 中替换旧的(确保有备份)。然后重新启动您的电脑。
对我来说效果很好。感谢那些帮助我解决这个问题的人。
I already figured it out! Here's my solution:
Oracle XE (C:\Oracle\OUIHome\bin\oci.dll) then paste it in 9i replacing the old one (make sure to have a backup). then restart your PC.
Works fine on me. Thanks for those who help me in solving this one.