|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2008-11-14 10:09 UTC] pajoye@php.net
[2008-11-18 17:54 UTC] gdjsmith at gmail dot com
[2009-02-23 09:33 UTC] pajoye@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Nov 03 21:00:01 2025 UTC |
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()