php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #64627 Unable to load dynamic library 'C:\Program Files (x86)\PHP\5.4.13\ext\php_ldap.
Submitted: 2013-04-10 20:19 UTC Modified: 2013-10-15 11:54 UTC
From: jonathan at snetram dot nl Assigned:
Status: No Feedback Package: LDAP related
PHP Version: 5.4.13 OS: Windows 7 64 bit
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 — but make sure to vote on the bug!
Your email address:
MUST BE VALID
Solve the problem:
43 + 19 = ?
Subscribe to this entry?

 
 [2013-04-10 20:19 UTC] jonathan at snetram dot nl
Description:
------------
When loading php_ldap as an extension in PHP 5.4.13 on Windows 7 64bit I seem to not be able to work with LDAP and found the following error in the eventvwr after loading my webserver:

Unable to load dynamic library 'C:\Program Files (x86)\PHP\5.4.13\ext\php_ldap.dll' - %1 is not a valid Win32 application.

It seems there is a compatability issue with this DLL.

Expected result:
----------------
No error when loading php_ldap.dll and LDAP functionality working

Actual result:
--------------
I checked php -m and it lists the ldap module being loaded, however phpinfo() doesn't seem to think so.

Other libraries like php_bz2.dll are loaded without problems, they show up in the output of both php -m and phpinfo();

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2013-04-11 07:57 UTC] ab@php.net
php_ldap.dll depends on a number of libs like openssl or sasl, please make sure those libs are on the path when starting webserver. Do you run phpinfo() in cli or webserver? If -m works, phpinfo (or just -i) should also work in console. Please check that.
 [2013-04-11 07:57 UTC] ab@php.net
-Status: Open +Status: Feedback
 [2013-10-15 11:54 UTC] php-bugs at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 12:01:27 2024 UTC