From: gdjsmith at gmail dot com Operating system: Windows Server 2003 PHP version: 5.2.6 PHP Bug Type: Dynamic loading Bug description: Apache unable to Load php_ldap.dll
Description: ------------ My Env is as follows: Windows Server 2003 Sp2 PHP 5.2.6 Apache 2.0.x PHP Warning: PHP Startup: Unable to load dynamic library '%PHPRC%\\ext\\php_ldap.dll' - The operating system cannot run %1.\r\n in Unknown on line 0 The Apache php module will load all of the other libraries except this one. I've been looking into the ssleay32.dll and libeay32.dll and making sure I have the right ones and that they are in the PATH so the OS can find them. I've used the MSI and zip versions of PHP but get the same results. Not sure where else to turn to. Reproduce code: --------------- <?php $ldapconn =ldap_connect("ldap.test.com", 389); if($ldapconn){ echo "Success "; } else{ echo "Fail"; } ?> Expected result: ---------------- Succss or Fail Actual result: -------------- Fatal error: Call to undefined function ldap_connect() -- Edit bug report at http://bugs.php.net/?id=46572&edit=1 -- Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=46572&r=trysnapshot52 Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=46572&r=trysnapshot53 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=46572&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=46572&r=fixedcvs Fixed in CVS and need be documented: http://bugs.php.net/fix.php?id=46572&r=needdocs Fixed in release: http://bugs.php.net/fix.php?id=46572&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=46572&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=46572&r=needscript Try newer version: http://bugs.php.net/fix.php?id=46572&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=46572&r=support Expected behavior: http://bugs.php.net/fix.php?id=46572&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=46572&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=46572&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=46572&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=46572&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=46572&r=dst IIS Stability: http://bugs.php.net/fix.php?id=46572&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=46572&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=46572&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=46572&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=46572&r=mysqlcfg