xammp 上的 ldap 配置

2022-01-14 00:00:00 xampp ldap php

我一直在尝试在 xammp localhost 上配置 ldap.

I have been trying to configure ldap on xammp localhost.

我在 php.ini 文件中启用了 ldap 扩展.

I have enabled ldap extension in php.ini file.

我也尝试过更改系统变量.

I have also tried to change the system variables.

我一直收到这个错误

LDAP 功能不存在.要么加载模块 ldap php 模块,要么使用编译了 ldap 支持的 php.

LDAP functionality not present. Either load the module ldap php module or use a php with ldap support compiled in.

欢迎任何帮助

推荐答案

我找到了这个解决方案,它对我有用:

I've found this solution and it works for me:

我已将xampp/php"目录中的libsasl.dll"复制到xampp/apache/bin"目录中,取消注释xampp/php/php.ini"中的extension=php_ldap.dll"",并启动了 Apache."

"I have copied the "libsasl.dll" from the "xampp/php" directory into the "xampp/apache/bin" directory, uncommented the "extension=php_ldap.dll" in "xampp/php/php.ini", and started Apache."

我在 https://community.apachefriends.org/f/viewtopic.php?f=16&t=48302#p186324

相关文章