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
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
50 - 44 = ?
Subscribe to this entry?

 
 [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: Sat Jun 15 19:01:30 2024 UTC