V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
PerNet
V2EX  ›  PHP

wamp 开启 OCI 扩展怎么连接 oracle 报错啊!!!求助大神了!!!

  •  
  •   PerNet · 2017-12-01 17:25:33 +08:00 · 2563 次点击
    这是一个创建于 2554 天前的主题,其中的信息可能已经有所发展或是发生改变。

    根据这个操作的: http://www.jianshu.com/p/152d45913b76

    Warning: oci_connect(): OCIEnvNlsCreate() failed. There is something wrong with your system - please check that PATH includes the directory with Oracle Instant Client libraries in C:\wamp64\www\1\1.php on line 12 Oracle 连接失败

    这个是系统变量:

    C:\Users\zgx>echo %path%

    C:\instantclient_12_2;c:\app\zgx\product\11.2.0\client_1\bin;C:\oc\product\12.2. 0\client_1\bin;C:\Program Files (x86)\VMware\VMware vSphere CLI\Perl\site\bin;C: \Program Files (x86)\VMware\VMware vSphere CLI\Perl\bin;C:\Windows\system32;C:\W indows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\P rogram Files (x86)\Microsoft SQL Server\100\Tools\Binn;C:\Program Files\Microso ft SQL Server\100\Tools\Binn;C:\Program Files\Microsoft SQL Server\100\DTS\Binn ;C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE ;C:\Program Files (x86)\Microsoft SQL Server\100\DTS\Binn;C:\Users\zgx\AppData \Local\Programs\Fiddler

    PHP 7.19

    OCI8 Support enabled OCI8 DTrace Support disabled OCI8 Version 2.1.8 Revision $Id: 8a26cf66ca0f9556b6376408c8f71ead69bdbcbf $ Oracle Run-time Client Library Version 0.0.0.0.0 Oracle Compile-time Instant Client Version 12.1 Directive Local Value Master Value oci8.connection_class no value no value oci8.default_prefetch 100 100 oci8.events Off Off oci8.max_persistent -1 -1 oci8.old_oci_close_semantics Off Off oci8.persistent_timeout -1 -1 oci8.ping_interval 60 60 oci8.privileged_connect Off Off oci8.statement_cache_size 20 20

    目前尚无回复
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   5438 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 33ms · UTC 06:58 · PVG 14:58 · LAX 22:58 · JFK 01:58
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.