Operating system: Windows 7
XAMPP version: 1.8.3 installation-free version
Because the test requires LDAP environment support, I checked the phpinfo of XAMPP and found that LDAP is not enabled by default. After modifying the php.ini configuration to enable ldap, I found that two errors were reported in succession when starting apache. The error content was: "PHPWarning:
PHP’s support for ldap requires three dynamic link libraries: libeay32.dll, libsasl.dll and ssleay32 .dll, of which libeay32.dll and ssleay32.dll can be found, but libsasl.dll cannot be found (actually there is)
Solution:
1. Copy phplibsasl.dll to the apachebin path;
2. Modify phpphp. ini file, uncomment extension=php_ldap.dll;
3. Start apache.
Reprinted from: http://blog.sina.com.cn/s/blog_6abcacf50101dexa.html
The above introduces XAMPP installation of LDAP, including XAMPP and ldap content. I hope it will be helpful to friends who are interested in PHP tutorials.