Unable to load dynamic library 'C:\\PHP\\ext\\php_ldap.dll' - The operating system ca

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jessienjr
    New Member
    • Jan 2008
    • 4

    Unable to load dynamic library 'C:\\PHP\\ext\\php_ldap.dll' - The operating system ca

    I am trying to enable ldap for PHP on Windows Server 2003 SP 1
    I am running PHP5.2.5
    I am running Apache 2.2

    I have copied and put all of the following files in the extensions directory "ext" or C:\PHP\ext

    Files I have copied into ext and windows system32 directory:
    php_ldap.dll
    php_openssl.dll

    I already have the following files in my system32 directory:
    msvcr70.dll
    msvcr71.dll
    ssleay32.dll
    libeay32.dll

    I know that the system is seeing my extensions directory because when I put:
    extension=php_l dap.dll

    The error message shows up twice. This is in the Apache2.2 log file.

    Unable to load dynamic library 'C:\\PHP\\ext\\ php_ldap.dll' - The operating system cannot run %1.\r\n in Unknown on line 0

    When I do a php -v, the output is
    PHP Warning: Module 'magickwand' already loaded in Unknown on line 0
    PHP Warning: Module 'ldap' already loaded in Unknown on line 0
    PHP Warning: Module 'openssl' already loaded in Unknown on line 0
    PHP 5.2.5 (cli) (built: Nov 8 2007 23:18:51)
    Copyright (c) 1997-2007 The PHP Group
    Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies

    This is strange.

    Any suggestions would be appreciated.


    Thanks,

    Jessie
Working...