我们在windows server 2008上安装了apache和php,试图用php命令连接oracle数据库。
我们在php.ini中插入了以下的lign:extension_dir。 但是,当我们试图连接到与PHP命令,显示“找不到驱动程序”甲骨文。 当我们执行“phpinfo()”命令时,我们可以看到在ocdo驱动程序中没有启用“oci”。
希望有人能帮助我们。 最好的问候,尼科。
看到这里: http : //php.net/manual/en/install.windows.extensions.php和http://php.net/manual/en/pdo.installation.php
要启用扩展,请取消注释(删除最初的分号),如下所示:
extension=php_pdo_oci8.dll