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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
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

Add a Patch

Pull Requests

Add a Pull Request

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-2024 The PHP Group
All rights reserved.
Last updated: Thu May 23 03:01:28 2024 UTC