ziqing
V2EX  ›  PHP

求教PHP连接oracle 10g

  •  
  •   ziqing · Jul 23, 2011 · 5835 views
    This topic created in 5443 days ago, the information mentioned may be changed or developed.
    我用的环境是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 replies    1970-01-01 08:00:00 +08:00
    ziqing
        1
    ziqing  
    OP
       Jul 24, 2011
    求各位大虾帮助啊
    freefcw
        2
    freefcw  
       Jul 24, 2011
    你试试重启,可能程序的环境变量还没更新到最新的吧?
    ziqing
        3
    ziqing  
    OP
       Jul 25, 2011
    @freefcw 已经重启过好多了,结果还是一样的,之前有配置成功过,是在32位的电脑上,与这个有关系吗
    freefcw
        4
    freefcw  
       Jul 25, 2011
    既然说“please check that PATH includes the directory with Oracle Instant Client libraries”
    你可以看看PATH变量
    ziqing
        5
    ziqing  
    OP
       Jul 25, 2011
    @freefcw PATH里有包含oracle\product\10.2.0\client_1\bin这个路径的
    webgeekman
        6
    webgeekman  
       Aug 24, 2011
    用PDO链接数据库吧,这个我们测试过,链接Oracle11G没有问题。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1070 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 30ms · UTC 18:48 · PVG 02:48 · LAX 11:48 · JFK 14:48
    ♥ Do have faith in what you're doing.