[英]Connect PHP Oracle Database
I've been trying to connect the oracle SQL Database for my PHP Project. 我一直在尝试为我的PHP项目连接oracle SQL数据库。 I have followed along the steps listed online as well as tried following along with this tutorial. 我遵循了在线列出的步骤,并尝试了本教程。
I have tried: 我努力了:
This still showed an "oci_connect()" could not be recognized. 这仍然表明无法识别“ oci_connect()”。
Versions 版本
OS Version: Windows 10 Pro 作业系统版本:Windows 10 Pro
XAMPP: x64 XAMPP:x64
PHP version: 7.2.12 Architecture: x86 PHP版本:7.2.12体系结构:x86
Instant Client: x64 (Tried with x86 as well but no difference) 即时客户端:x64(也尝试过x86,但没有区别)
However, I have not been able to troubleshoot and despite the above attempts the "oci_connect()" function doesn't get recognized. 但是,我无法进行故障排除,尽管进行了上述尝试,但“ oci_connect()”函数仍未被识别。 Any help or guidance will be appreciated. 任何帮助或指导将不胜感激。
Fatal error: Uncaught Error: Call to undefined function oci_connect() in C:\xampp\htdocs\test\scriptdemo.php:7 Stack trace: #0 {main} thrown in C:\xampp\htdocs\test\scriptdemo.php on line 7
the xampp runs on x86 or x64 version? xampp在x86或x64版本上运行? an the oracle client should be in sync with xampp - same version! oracle客户端应与xampp同步-相同版本!
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.