php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #46114 php_ldap loads for CLI but not for ISAPI
Submitted: 2008-09-18 13:14 UTC Modified: 2008-09-18 14:31 UTC
From: RQuadling at GMail dot com Assigned:
Status: Not a bug Package: LDAP related
PHP Version: 5.3CVS-2008-09-18 (snap) OS: Windows XP SP3
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: RQuadling at GMail dot com
New email:
PHP Version: OS:

 

 [2008-09-18 13:14 UTC] RQuadling at GMail dot com
Description:
------------
Using the same installation of PHP for CLI and ISAPI, with a 
different ini file for each SAPI, but with extension=php_ldap.dll 
present in both ini files.

At the command line php -m shows ldap.

But open starting my web server service (Sambar Server), I get the 
error ...

PHP Startup: Unable to load dynamic library 
'C:\PHP5\ext\php_ldap.dll' - The operating system cannot run %1.

phpinfo(); doesn't show ldap.

php --ri ldap shows ...

ldap

LDAP Support => enabled
RCS Version => $Id: ldap.c,v 1.161.2.3.2.11.2.18 2008/08/02 04:46:05 
felipe Exp $
Total Links => 0/unlimited
API Version => 3001
Vendor Name => OpenLDAP
Vendor Version => 20319

Reverting to PHP 5.3.0-dev (June 12 2008 082017) and all works again.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2008-09-18 14:31 UTC] RQuadling at GMail dot com
With thanks to Keisial via IRC. The problem was that Sambar Server 
uses a different version of the SSL dlls.

Replacing them with the ones provided by PHP solved the issue.

A big thank you to Keisial.

Regards,

Richard Quadling.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Fri Mar 14 15:01:30 2025 UTC