Home  >  Article  >  Backend Development  >  请问OCI环境初始化异常

请问OCI环境初始化异常

WBOY
WBOYOriginal
2016-06-13 13:31:391055browse

请教OCI环境初始化错误
系统是Ubuntu,安装的10201_client_linux_x86_64客户端,我自己编写的PHP扩展模块访问Oracle数据库,在执行OCIEnvCreate时就返回-1,同样的代码,在单独程序中运行就正常,我怀疑过是不是Apache用户权限的问题,但是给客户端目录下的所有文件都赋予了完全访问权限,依旧这样,请教大家有没有解决的方法,谢谢大家!

------解决方案--------------------
php 不是有 oci 扩展吗?

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