Monday, March 7, 2011

Solved PHP LDAP error - Fatal error: Call to undefined function ldap_connect()


1. find the php.ini file in apache bin folder

2. In php.ini, enable setting extension=php_ldap.dll
- find the line with this setting
- remove the comment-indicating semicolon in front of it
- save php.ini
- restart apache

No comments: