php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #21522 Ldap unable to load - module not found
Submitted: 2003-01-08 12:46 UTC Modified: 2003-01-08 17:51 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: bool at gte dot net Assigned:
Status: Not a bug Package: LDAP related
PHP Version: 4.3.0 OS: Windots NT
Private report: No CVE-ID: None
 [2003-01-08 12:46 UTC] bool at gte dot net
When attempting to enable the extension php_ldap.dll from the 4.3.0 windows binary build I first copied the dll to c:\php\, set the proper variable in php.ini to tell php to look for extensions in c:\php and uncommented the line extension=php_ldap.dll.  save, shutdown iis, restart to get an error telling me that module c:\php\php_ldap.dll is not found and there is a refrence to function Unknown().  

After verifying that I did not screw up my copy job and the file c:\php\php_ldap.dll DID exist I came back to the site and did a serch for others having the same problem.  In 2001 there were many refrences to the same error and the solution was to move libsasl.dll to the same location as php_ldap.dll.  I also found documentation stating that libsasl.dll was already bundled into 4.3.0.  I was unable to locate libsasl.dll anywhere in the binary zip of 4.3.0.

I've noticed at least two other people here experiencing similiar problems.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-01-08 17:51 UTC] edink@php.net
You probably missed a part in the install intructions about copying dlls\*.dll to c:\winnt\system32.
 [2003-01-09 08:53 UTC] bool at gte dot net
I fell like a dolt now... I copied the files and everything is working like a charm.  Thank you very much for the help.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Apr 16 09:01:28 2024 UTC