ID: 46179
Updated by: [EMAIL PROTECTED]
Reported By: cocowool at gmail dot com
-Status: Open
+Status: Bogus
Bug Type: LDAP related
Operating System: Vista Ultimate Sp1
PHP Version: 5.2.6
New Comment:
- 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.
Previous Comments:
------------------------------------------------------------------------
[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