php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #17507 LDAP module fails to load
Submitted: 2002-05-29 11:23 UTC Modified: 2002-05-29 13:14 UTC
From: haniotak at ucnet dot uoc dot gr Assigned:
Status: Not a bug Package: LDAP related
PHP Version: 4.2.1 OS: Windows 2000 Advanced Server
Private report: No CVE-ID: None
 [2002-05-29 11:23 UTC] haniotak at ucnet dot uoc dot gr
Scenario: Default PHP 4.2.1 installation on win2k / apache (as a service, PHP installed as dynamically linked module).

php-ini-recommended used with one change: the extensions_dir points to c:/php/extensions/

On enabling the php_ldap.dll extension (removed ';' ) and then restarting the apache service, I get this popup:
-- START --
Warning:
ldap: Unable to initialize module
Module compiled with module API=20020429, debug=0,thread-safety=1
PHP compiled with module API=20010901,debug=0,thread-safety=1
These options need to match
-- END --

Can make an educated guess about the nature of the problem, cannot suggest a real fix.

Thanks in advance for your time.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-05-29 13:05 UTC] yohgaki@php.net
Sorry, but the bug system is not the appropriate forum for asking
support questions. Your problem does not imply a bug in PHP itself.
For a list of more appropriate places to ask for help using PHP,
please visit http://www.php.net/support.php

Thank you for your interest in PHP.

You PHP is looking for older DLL most likely.
 [2002-05-29 13:14 UTC] mfischer@php.net
The DLL included in the 4.2.1 win32 distribution definitely works. You have an old dll lying around somewhere which is loaded instead.
 [2002-05-29 13:14 UTC] mfischer@php.net
The DLL included in the 4.2.1 win32 distribution definitely works. You have an old dll lying around somewhere which is loaded instead.
 [2002-05-30 03:08 UTC] haniotak at ucnet dot uoc dot gr
Aw well, my bad. Apparently there was an old php4ts.dll lying around in my $PATH - *that* was the older one, and not the ldap one. Sorry. :(
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 13:01:30 2024 UTC