这是一个创建于 4812 天前的主题,其中的信息可能已经有所发展或是发生改变。
我用的环境是win7 64位的,用xampp搭的,oracle客户端也装上了,环境变量自动填上了已经,php配置里包含了php_oci8.dll,在phpinfo里有oci8支持,但是还是报这样的错误
OCIEnvNlsCreate() failed. There is something wrong with your system - please check that PATH includes the directory with Oracle Instant Client libraries
6 条回复 • 1970-01-01 08:00:00 +08:00
|
|
1
ziqing 2011-07-24 22:55:47 +08:00
求各位大虾帮助啊
|
|
|
2
freefcw 2011-07-24 23:51:47 +08:00
你试试重启,可能程序的环境变量还没更新到最新的吧?
|
|
|
3
ziqing 2011-07-25 09:06:11 +08:00
@ freefcw 已经重启过好多了,结果还是一样的,之前有配置成功过,是在32位的电脑上,与这个有关系吗
|
|
|
4
freefcw 2011-07-25 09:09:37 +08:00
既然说“please check that PATH includes the directory with Oracle Instant Client libraries” 你可以看看PATH变量
|
|
|
5
ziqing 2011-07-25 09:36:38 +08:00
@ freefcw PATH里有包含oracle\product\10.2.0\client_1\bin这个路径的
|
|
|
6
webgeekman 2011-08-24 14:49:01 +08:00
用PDO链接数据库吧,这个我们测试过,链接Oracle11G没有问题。
|