跳转到主内容
极星编程网:以代码为星,赴技术山海!

xp下的php 连oracle 有关问题

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 的

相关文章