Menu

WIN32 - Unable to load dynamic library

Help
MCristino
2006-07-28
2012-10-23
  • MCristino

    MCristino - 2006-07-28

    Using php 5.1.2,IIS 5.1,Windows XP i can´t the library.

    Erro: PHP Warning: PHP Startup: Unable to load dynamic library 'C:\php\ext\php_arapi.dll' - The specified module could not be found. in Unknown on line 0

    Can you help?
    Thanks

     
    • Jens Yllman

      Jens Yllman - 2006-08-11

      This is probably because the system does not find the dlls from ARAPI. Needed to run php_arapi is arapi63.dll, arrpc63.dll and arutl63.dll. You have to make sure that they are in the path as PHP sees it.

      The binaries supplied here at SF is for ARAPI 6.3. In the future we might supply for more versions. The sourcecode should compile without problem for 6.0 and 6.3. And would probably work for 7.0 too. Not with unicode support. And it is not tested yet.

       
  • Scott

    Scott - 2010-12-10

    I am running 32-bit Apache/PHP on a 64-bit Vista workstation. I have made sure
    all of the needed dependencies as identified by Dependency Walker are
    satisfied, yet I still get this error:

    PHP Warning: PHP Startup: Unable to load dynamic library 'C:\Program Files
    (x86)\xampplite\php\ext\php_arapi.dll' - The specified module could not be
    found.\r\n in Unknown on line 0


    Warning: PHP Startup: Unable to load dynamic library 'C:\Program Files
    (x86)\xampplite\php\ext\php_arapi.dll' - The specified module could not be
    found.
    in Unknown on line 0

    php_arapi.dll is indeed where stated, and the following dependencies are in
    the same directory:

    arapi71.dll
    arrpc71.dll
    arutl71.dll
    icudt32.dll
    icuinbmc32.dll
    icuucbmc32.dll

     
  • Jens Yllman

    Jens Yllman - 2010-12-12

    How do you start Apache? Is it as a service? In case you start as a service,
    what user is the service started as? Is it another user then when you run
    dependency walker? Has that user the same settings as you when you do
    dependency walker?

     
  • Scott

    Scott - 2010-12-13

    How do you start Apache?

    I use a XAMPP and start it through the XAMPP control panel which is running as
    a local administrator. However, I believe it simply starts the service which
    runs under the "Local System" account.

    Is it as a service?

    Yes, I believe that is how it is running.

    In case you start as a service, what user is the service started as?

    Local System

    Is it another user then when you run dependency walker?

    Yes, I run it under my domain login. I've also run it under the local
    administrator account and seen the same thing.

    Has that user the same settings as you when you do dependency walker?

    Not sure since I'm not really familiar with the Local System account.

    I will say that it's odd that Dependency Walker indicates that many system
    DLLs referenced below the above-mentioned ones are indicated as being 64-bit.
    I guess this is natural since my OS is 64-bit, but I thought it would
    reference the 32-bit ones installed in the "WOW" folder or whatever. I'm not
    familiar enough with the 32-bit DLL usage under Windows to understand it...

     
  • Jens Yllman

    Jens Yllman - 2010-12-15

    To me it is little bit magic how to configure the 'local system' account. The
    easy solution is to change user on the service to run as the user where
    dependency walker show everything is ok.

    I think, but do not know for sure, but if you log in as the local
    administrator and do the settings in PATH and the like so dependency walker
    show OK, it should be saved to the 'local system' account. These are windows
    system settings things, and I am not 100% sure how to best set it up. But it
    is PATH that controll where windows are searching for .dlls.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.