php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #65327 LDAP Extension not showing in phpinfo()
Submitted: 2013-07-24 17:47 UTC Modified: 2013-07-26 15:04 UTC
From: jfha73 at gmail dot com Assigned:
Status: Closed Package: LDAP related
PHP Version: 5.5.1 OS: Windows x64
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 - 41 = ?
Subscribe to this entry?

 
 [2013-07-24 17:47 UTC] jfha73 at gmail dot com
Description:
------------
This is related to PHP 5.5.x x64, I know it's in experimental phase and it has much to do before it's fully x64, but the extension for ldap (php_ldap.dll) even though it shows when running php -m it doesn't show in phpinfo() therefore, ldap is not showing as loaded.

I don't know if this has to do with the extension itself or with openldap deps, but it should be looked at.

Thanks guys.

Test script:
---------------
phpinfo();

Expected result:
----------------
Show the ldap extension as loaded

Actual result:
--------------
ldap is not showing.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2013-07-24 17:49 UTC] jfha73 at gmail dot com
-Summary: LDAP Extansion not showing in phpinfo() +Summary: LDAP Extension not showing in phpinfo()
 [2013-07-24 17:49 UTC] jfha73 at gmail dot com
Just fixing the title
 [2013-07-25 21:57 UTC] mattficken@php.net
With both 5.5.1-ts-x64 and 5.5.1-nts-x64, the LDAP extension shows up as enabled in phpinfo() and `php -m`.

In the php.ini, I enabled only php_ldap.dll, and the extension was listed in phpinfo. I then tried enabling all the extension dlls (except firebird and oci), and the ldap extension was listed (I enabled them in the order listed in php.ini-development). In all cases, all the correct info was listed for the LDAP extension.

Please share your INI file. Maybe this is dependent on the order the DLLs are loaded and/or on which DLLs are loaded.

Thanks for understanding 5.5-x64 is experimental and thanks for helping to make PHP better.
 [2013-07-26 14:34 UTC] jfha73 at gmail dot com
These are the extensions I'm loading:

extension=php_com_dotnet.dll
extension=php_bz2.dll
extension=php_curl.dll
extension=php_fileinfo.dll
extension=php_gd2.dll
extension=php_gettext.dll
;extension=php_gmp.dll
;extension=php_intl.dll
extension=php_imap.dll
;extension=php_interbase.dll
extension=php_ldap.dll
extension=php_mbstring.dll
extension=php_exif.dll      ; Must be after mbstring as it depends on it
extension=php_mysql.dll
extension=php_mysqli.dll
;extension=php_oci8.dll      ; Use with Oracle 10gR2 Instant Client
;extension=php_oci8_11g.dll  ; Use with Oracle 11gR2 Instant Client
extension=php_openssl.dll
;extension=php_pdo_firebird.dll
extension=php_pdo_mysql.dll
;extension=php_pdo_oci.dll
extension=php_pdo_odbc.dll
;extension=php_pdo_pgsql.dll
extension=php_pdo_sqlite.dll
;extension=php_pgsql.dll
;extension=php_pspell.dll
;extension=php_shmop.dll
zend_extension=php_xdebug.dll

; The MIBS data available in the PHP distribution must be installed. 
; See http://www.php.net/manual/en/snmp.installation.php 

extension=php_snmp.dll
extension=php_soap.dll
extension=php_sockets.dll
extension=php_sqlite3.dll
;extension=php_sybase_ct.dll
;extension=php_tidy.dll
extension=php_xmlrpc.dll
extension=php_xsl.dll
;extension=php_zip.dll
extension=php_uploadprogress.dll

Do I have to enable any of the ones I have disabled in order to use it?
 [2013-07-26 15:04 UTC] jfha73 at gmail dot com
-Status: Open +Status: Closed
 [2013-07-26 15:04 UTC] jfha73 at gmail dot com
Needed to add my path to PHP to the Windows %PATH% so it could load.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 28 11:01:27 2024 UTC