dscdttg4389 2016-08-03 13:27
浏览 164
已采纳

无法在新的PHP IIS服务器上启用LDAP扩展

I have a new server at work, installed PHP 5.4.21 on it yesterday, got SQLSRV working this morning but now I'm stuck getting LDAP enabled. It's not showing in phpinfo(). This is my php.ini file that is in C:\PHP which is where phpinfo() says is the correct directory: http://pastebin.com/yWv9gRNT

I have uncommented extension=php_ldap.dll (near the bottom), I have the dll in the ext folder that is linked in the php.ini file, I have restarted IIS numerous times, I have even copied all DLLs to Windows\System32 folder as recommended on some forums (including libsasl.dll libeay32.dll & ssleay32.dll) & restarted server. Server is Windows 2008 R2 running IIS 7.5.

  • 写回答

2条回答 默认 最新

  • doushiposong30622 2016-08-11 09:31
    关注

    OK, I have resolved this, been away for a week, came back to look at it again... Turns out at the very first time (before posting on here) it wasn't working (the dll files weren't in the system32 folder) I followed a few posts on here where people suggest downloading the latest version of PHP and taking the ext folder and copying over the ones we have installed. Today I downloaded the zip that matches my version exactly, overwrote all the newer dlls and it now works perfectly, thank you to all those that helped and offered their expertise and time.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(1条)

报告相同问题?

悬赏问题

  • ¥15 请教:如何用postman调用本地虚拟机区块链接上的合约?
  • ¥15 为什么使用javacv转封装rtsp为rtmp时出现如下问题:[h264 @ 000000004faf7500]no frame?
  • ¥15 乘性高斯噪声在深度学习网络中的应用
  • ¥15 运筹学排序问题中的在线排序
  • ¥15 关于docker部署flink集成hadoop的yarn,请教个问题 flink启动yarn-session.sh连不上hadoop,这个整了好几天一直不行,求帮忙看一下怎么解决
  • ¥15 深度学习根据CNN网络模型,搭建BP模型并训练MNIST数据集
  • ¥15 C++ 头文件/宏冲突问题解决
  • ¥15 用comsol模拟大气湍流通过底部加热(温度不同)的腔体
  • ¥50 安卓adb backup备份子用户应用数据失败
  • ¥20 有人能用聚类分析帮我分析一下文本内容嘛