且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何在 php.ini 中启用 oci8 (Oracle) 的扩展 - PHP 警告:PHP 启动:在第 0 行未知

更新时间:2023-02-24 08:00:31

[SOLVED]

我下载了 Instant Client Package - Basic(版本 10.2.0.5)并解压了它.

I downloaded the Instant Client Package - Basic (version 10.2.0.5) and I extracted it.

之后我将该包的所有文件复制到以下文件夹中:

Afterwards I copied all the files of that package in the following folders:

C:/wamp/bin/php/php5.4.16/ext/
C:/wamp/bin/apache/Apache2.4.4/bin

它以这种方式对我有用.之后加载了 oci8 模块.

It worked for me in this way. After that the oci8 module was loaded.