Unable to load dynamic library php_oci8.dll

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Willis Lang

    #1

    Unable to load dynamic library php_oci8.dll

    Warning: Unknown(): Unable to load dynamic library './php_oci8.dll' -
    Access is denied.

    Error keeps coming up on server. I made sure the security settings were
    set on the file and all recursive directories just in case. Moved the
    file around everywhere. (c:\winnt\syste m32, c:\winnt, d drive) Changed
    IIS to control password. Tried using both php.ini files. Changed the
    extension path.

    Php works when I comment oci8 extension on php.ini but immediately stops
    when i uncomment it. I'm all out of ideas. Has anyone else had this
    problem????

  • Andy Hassall

    #2
    Re: Unable to load dynamic library php_oci8.dll

    On Mon, 15 Mar 2004 15:44:20 -0500, Willis Lang <wlang@fitch.ma th.uwaterloo.ca >
    wrote:
    [color=blue]
    >Warning: Unknown(): Unable to load dynamic library './php_oci8.dll' -
    >Access is denied.
    >
    >Error keeps coming up on server. I made sure the security settings were
    >set on the file and all recursive directories just in case. Moved the
    >file around everywhere. (c:\winnt\syste m32, c:\winnt, d drive) Changed
    >IIS to control password. Tried using both php.ini files. Changed the
    >extension path.
    >
    >Php works when I comment oci8 extension on php.ini but immediately stops
    >when i uncomment it. I'm all out of ideas. Has anyone else had this
    >problem????[/color]

    A thought - perhaps it's not referring directly to php_oci8.dll, but rather to
    the DLLs that it loads, i.e. oci.dll from your Oracle home. Check permissions
    on that.

    The './' at the front of the path is possibly suspect - is extension_dir set
    correctly in php.ini?

    --
    Andy Hassall <andy@andyh.co. uk> / Space: disk usage analysis tool
    <http://www.andyh.co.uk > / <http://www.andyhsoftwa re.co.uk/space>

    Comment

    • Stuart D.

      #3
      Re: Unable to load dynamic library php_oci8.dll

      On Mon, 15 Mar 2004 15:44:20 -0500, Willis Lang
      <wlang@fitch.ma th.uwaterloo.ca > wrote:
      [color=blue]
      >Warning: Unknown(): Unable to load dynamic library './php_oci8.dll' -
      >Access is denied.
      >
      >Error keeps coming up on server. I made sure the security settings were
      >set on the file and all recursive directories just in case. Moved the
      >file around everywhere. (c:\winnt\syste m32, c:\winnt, d drive) Changed
      >IIS to control password. Tried using both php.ini files. Changed the
      >extension path.
      >
      >Php works when I comment oci8 extension on php.ini but immediately stops
      >when i uncomment it. I'm all out of ideas. Has anyone else had this
      >problem????[/color]



      I got this behaviour until I read the manual, and installed the Oracle
      Client on my web server, and then used the Oracle Net Manager to
      create a service to connect to.

      When I installed this, the dll worked fine in the normal location
      c:/php/extentions/- same place as the GD and MS SQL DLLs in my case.

      Regards,

      Stuart

      Comment

      • Willis Lang

        #4
        Re: Unable to load dynamic library php_oci8.dll

        I've narrowed it down some more. It is definitly an oci8 problem because
        i uncommented php_printer.dll and it works fine. Further, i commented out
        all the extensions and then forced dll load with the dl() function and
        php_printer.dll works while php_oci8.dll doesn't. (doesn't load because
        access denied) Help anyone?!?!?!?

        On Mon, 15 Mar 2004, Stuart D. wrote:
        [color=blue]
        > On Mon, 15 Mar 2004 15:44:20 -0500, Willis Lang
        > <wlang@fitch.ma th.uwaterloo.ca > wrote:
        >[color=green]
        > >Warning: Unknown(): Unable to load dynamic library './php_oci8.dll' -
        > >Access is denied.
        > >
        > >Error keeps coming up on server. I made sure the security settings were
        > >set on the file and all recursive directories just in case. Moved the
        > >file around everywhere. (c:\winnt\syste m32, c:\winnt, d drive) Changed
        > >IIS to control password. Tried using both php.ini files. Changed the
        > >extension path.
        > >
        > >Php works when I comment oci8 extension on php.ini but immediately stops
        > >when i uncomment it. I'm all out of ideas. Has anyone else had this
        > >problem????[/color]
        >
        >
        >
        > I got this behaviour until I read the manual, and installed the Oracle
        > Client on my web server, and then used the Oracle Net Manager to
        > create a service to connect to.
        >
        > When I installed this, the dll worked fine in the normal location
        > c:/php/extentions/- same place as the GD and MS SQL DLLs in my case.
        >
        > Regards,
        >
        > Stuart
        >
        >[/color]

        Comment

        Working...