xp下的php 连oracle 有关问题

WBOY
Release: 2016-06-13 12:27:21
Original
953 people have browsed it

xp下的php 连oracle 问题
Warning: oci_connect() [function.oci-connect]: OCIEnvNlsCreate() failed. There is something wrong with your system - please check that PATH includes the directory with Oracle Instant Client libraries in D:\PHPnow\htdocs\hfgh\ct2\3.php on line 13
这个错误 怎么解决啊?
------解决思路----------------------
Oracle 安装光盘上有 2 个目录,一个是 server 这是服务端,一个是 client 这是客户端
无论在你的机器上是否安装了服务端,客户端是一定要安装的
只有这样 oci.dll 才会被安装到你的机器上,而 php 是通过 php_oci8 或 php_oci8_11g 扩展调用 oci.dll,继而操作 Oracle 的

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!