Edit report at https://bugs.php.net/bug.php?id=65327&edit=1
ID: 65327 User updated by: jfha73 at gmail dot com Reported by: jfha73 at gmail dot com Summary: LDAP Extension not showing in phpinfo() -Status: Open +Status: Closed Type: Bug Package: LDAP related Operating System: Windows x64 PHP Version: 5.5.1 Block user comment: N Private report: N New Comment: Needed to add my path to PHP to the Windows %PATH% so it could load. Previous Comments: ------------------------------------------------------------------------ [2013-07-26 14:34:07] 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-25 21:57:33] mattfic...@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-24 17:49:02] jfha73 at gmail dot com Just fixing the title ------------------------------------------------------------------------ [2013-07-24 17:47:41] 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. ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=65327&edit=1