Operating system: Windows 7
XAMPP version: 1.8.3 free installation version
Because the test requires LDAP environment support, check the XAMPP phpinfo, found that LDAP is not enabled by default. After modifying the php.ini configuration to enable LDAP, it was discovered that two consecutive errors were reported when Apache was started, with the following error: "Phpwarning:
PHP Startup: Inunknown on line 0 ". The check found that the error was caused by a dynamic link library that could not be found.
PHP support for LDAP relies on 3 dynamic-link libraries: Libeay32.dll, Libsasl.dll, and Ssleay32.dll, where Libeay32.dll and Ssleay32.dll can be found, Libsasl.dll can not find (in fact, there is).
Workaround:
1. Copy the Phplibsasl.dll to the Apachebin path;
2. Modify the Phpphp.ini file and cancel the Extension=php_ldap.dll comment;
3. Launch Apache.
Transferred from: http://blog.sina.com.cn/s/blog_6abcacf50101dexa.html
The above describes the XAMPP installation of LDAP, including the content of the XAMPP,LDAP, I hope that the PHP tutorial interested in a friend helpful.