ID: 46179 User updated by: cocowool at gmail dot com Reported By: cocowool at gmail dot com Status: Bogus Bug Type: LDAP related Operating System: Vista Ultimate Sp1 PHP Version: 5.2.6 New Comment:
I changed the right php.ini according to the php.ini and restarted my webserver i am not sure if it's a problem about the vista OS is there anyone who use vista ultimate and config the php_ldap.dll thank you very much Previous Comments: ------------------------------------------------------------------------ [2008-09-26 09:06:32] [EMAIL PROTECTED] - Restart your webserver after each change in your php.ini - be sure that you are editing the right php.ini, check with phpinfo() - be sure that PHP is actually loading it as well, check with phpinfo() It is not a bug but a configuration problem, please use one of our mailing lists to get support. ------------------------------------------------------------------------ [2008-09-26 08:12:51] cocowool at gmail dot com 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 this bug report at http://bugs.php.net/?id=46179&edit=1