Home  >  Article  >  Backend Development  >  pdo连接oracle时报错,该如何解决

pdo连接oracle时报错,该如何解决

WBOY
WBOYOriginal
2016-06-13 12:04:43976browse

pdo连接oracle时报错
之前一直是在自己的pc上开发,现在要转移到服务器上了。程序拷到服务器上后运行,在创建pdo对象时出错,报could not find driver。查了php.ini 能打开的都打开了,甚至后来把我自己pc上的考到了服务器上,还是不行。之后查了phpinfo,我自己的pc上pdo driver已经启用了oci,但是服务器上就没有,忘了还需要做什么了。。望大神提示一下。。。
------解决方案--------------------
安装 oracle 客户端

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn