CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Jan 2009
    Posts
    32

    Unhappy OCILOBRead2 not located in oci.dll

    Can someone please assit me here. I have the following:

    (1) WAMP server on windows XP
    (2) Apache 2.2.8
    (3) PHP 5.2.6
    (4) MySQL 5.0.51b
    (5) Oracle 9i

    I keep on getting the following error when starting up the WAMP server: "OCILOBRead2 could not be located in the oci.dll file". I tried different versions of PHP, nothing worked. I need to enable the php_oci8 to connect to an oracle database.

    Any help will be greatly appreciated.

  2. #2
    Join Date
    May 2002
    Posts
    10,943

    Re: OCILOBRead2 not located in oci.dll

    This problem really is tied into your other thread OCIEnvNlsCreate() failed. Once you solve that one, this should fix itself as well.
    If the post was helpful...Rate it! Remember to use [code] or [php] tags.

  3. #3
    Join Date
    Feb 2009
    Posts
    2

    Thumbs up Re: OCILOBRead2 not located in oci.dll

    I don't know the situation for Oracle 9i, but for Oracle 8i I finally discovered (after MANY hours of searching online!!), that the oci.dll and "OCI" extension's are incompatible with with Oracle 8i (I think they may only work from Oracle 10 onwards)!!

    At last, I now have PHP connecting to the database on the following spec:

    Windows XP
    IIS 5.1
    Oracle 8i (hosted on a Unix server)

    ... with:

    PHP 5.1.5
    PECL 5.1.5 (using only the "oracle.dll" at the moment)

    ... connecting to the Oracle 8i database using the "ORA" extensions instead of "OCI" - I had the same error you're getting here untile I removed the "oci.dll" file from the extensions directory.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured