我已经在 ubuntu 中安装了 php5-ldap 模块并运行
dpkg -l|grep ldap shows
ldap-utils 2.4.28-1.1ubuntu4.6 OpenLDAP utilities
ii libaprutil1-ldap 2+deb.sury.org~precise+1 Apache Portable Runtime Utility Library - LDAP Driver
ii libldap-2.4-2 2.4.28-1.1ubuntu4.6 OpenLDAP libraries
ii php5-ldap 5.5.30+dfsg- 1+deb.sry.org~precise+1 LDAP module for php5
But when i am running php_info() it doesn't show ldap is enabled.
我在 /etc/php5/apache2/php.ini 中评论了 extension=php_ldap.dll 但它仍然无法正常工作
我在某处读到我还需要添加 extension=ldap.so。但我不确定在哪里添加它。有人可以帮忙吗?