如何在PHP 7中启用ldap? 我的服务器具有DirectAdmin
如果我输入
apt-get install php-ldap
或
apt-get install php70-ldap
接收
root@www4:/usr/local/directadmin/custombuild# apt-get install php70-ldap
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package php70-ldap
root@www4:/usr/local/directadmin/custombuild#
如果我输入
root@www4:~# apt-cache search php | grep ldap
接收
phamm-ldap - PHP front-end to manage virtual services on LDAP - back-end files
phamm-ldap-amavis - PHP front-end to manage virtual services on LDAP - back-end files
phamm-ldap-vacation - PHP front-end to manage virtual services on LDAP - back-end files
php-net-ldap - a OO interface for searching and manipulating LDAP-entries
php-net-ldap2 - PHP PEAR module for searching and manipulating LDAP-entries
phpldapadmin - web based interface for administering LDAP servers
simpleid-ldap - simple OpenID provider implemented in PHP - LDAP plugin
php5-ldap - Module with LDAP functions to PHP 5
root@www4:~#