php_oracle.dll是Oracle8i以上版本的,php_oci8.dll仅适用于Oracle8i,你安装Oracle客户端程序了吗?因为启用Oracle扩展需要外部库,一般都在客户端程序中有

解决方案 »

  1.   

    Oracle Enterprise Manager
    Oracle for Windows NT
    Oracle Replication Manager别人帮我装了一个,但不知道怎么用?
    以上三个是开始菜单里程序中的三个目录,
    怎么和PHP一起用?
      

  2.   

    安装Oracle Client了没有?我有10g,9i的倒是没注意
      

  3.   

    阅读一下PHP目录下面得INSTALL.TXT  你把DLL文件正确复制到了system32下面了么?不是仅仅设置了EXTENSION_DIR就行得 
    You need to ensure that the dlls which php uses can be found. The precise
      dlls involved depend on which web server you use and whether you want to
      run php as a cgi or as a server module. php4ts.dll is always used. If you are
      using a server module (e.g. isapi or apache) then you will need the relevent
      dll from the sapi folder. If you are using any php extension dlls then you
      will need those as well. To make sure that the dlls can be found, you can
      either copy them to the system directory (e.g. winnt/system32 or 
      windows/system) or you can make sure that they live in the same directory
      as the main php executable or dll your web server will use (e.g. php.exe,
      php4apache.dll).
      

  4.   

    这些基本得问题都可以从这个简单得install.txt中得到答案 你得问题就可以从这里找到
    ATTENTION! ATTENTION! ATTENTION!
       Some extra DLLs are required for some PHP extensions. Please copy the
       bundled dlls from the 'dlls/' directory in distribution package to your
       windows/system (Win9.x) or winnt/system32 (WinNT, Win2000, XP) directory.
       If you already have these DLLs installed on your system,
       overwrite them only if something is not working correctly.
       Before overwriting them, it is a good idea to backup them or move them to
       another folder - just in case something goes wrong.
      

  5.   

    我的帖子沉了过,不会是这个问题太容易解决了吧。
    php_oci8.dll 文件明明在d:\php\extensions\目录下的,到底要怎么样整这个东西呀?
    把这个文件拷到system,system32等目录下试过都不行,你们都怎么搞定的?Oracle Enterprise Manager
    Oracle for Windows NT
    Oracle Replication Manager别人帮我装了一个,但不知道怎么用?
    以上三个是开始菜单里程序中的三个目录,
    怎么和PHP一起用?Oracle Client这个适合初学者吗?
    哪有好的下载,刚才搜了一下了,
    好像有100多M,是不是这样子的东西?
      

  6.   

    Oracle吃内存太厉害了,安装后就卸载了。我512M的内存都狂慢。
    提示是没有找到外部库,php_oci8.dll复制到System32目录不起作用的,那不是外部库,外部库应该在Oracle安装后就有的
      

  7.   

    php.net有一点资料,不是很详细,以前看过,你的问题是没找到外部库,我没用过Oracle,帮不了你 :(
      

  8.   

    很少人用PHP连接ORCALE吗?给点儿详尽的资料好吗?
      

  9.   

    没有客户端好像确实不行,你安装客户端程序看看吧。我用9i,安装后,加入扩展没问题,可登录不了,Ora_Logon函数不存在,我也没安装客户端。我暂时放弃Oracle了,好好了解下再用不迟。