From: cocowool at gmail dot com Operating system: Vista Ultimate Sp1 PHP version: 5.2.6 PHP Bug Type: LDAP related Bug description: Can't make php_ldap.dll work even though i decommen the php.ini
Description: ------------ i want to connect a ldap server and need to use the "ldap_connect" function in order to use that function i decomment the php.ini where ";extension=php_ldap.dll" after i restart the apache server i still can't use the function the error information as below: Fatal error: Call to undefined function ldap_connect() in D:\SVN\intra.leju.com\trunk\epm\login.php on line 15 Reproduce code: --------------- $ds=ldap_connect("10.210.96.10", 389); Expected result: ---------------- return a handle Actual result: -------------- Fatal error: Call to undefined function ldap_connect() in D:\SVN\intra.leju.com\trunk\epm\login.php on line 15 -- Edit bug report at http://bugs.php.net/?id=46179&edit=1 -- Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=46179&r=trysnapshot52 Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=46179&r=trysnapshot53 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=46179&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=46179&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=46179&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=46179&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=46179&r=needscript Try newer version: http://bugs.php.net/fix.php?id=46179&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=46179&r=support Expected behavior: http://bugs.php.net/fix.php?id=46179&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=46179&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=46179&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=46179&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=46179&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=46179&r=dst IIS Stability: http://bugs.php.net/fix.php?id=46179&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=46179&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=46179&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=46179&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=46179&r=mysqlcfg