Включить LDAP для PHP проще всего установив php5-ldap:

root@debian-net:/# apt-get install php5-ldap
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
0 upgraded, 1 newly installed, 0 to remove and 62 not upgraded.
Need to get 19.8 kB of archives.
After this operation, 111 kB of additional disk space will be used.
Get:1 http://security.debian.org/ squeeze/updates/main php5-ldap amd64 5.3.3-7+squeeze8 [19.8 kB]

Fetched 19.8 kB in 0s (47.1 kB/s)
Selecting previously deselected package php5-ldap.
(Reading database ... 35746 files and directories currently installed.)
Unpacking php5-ldap (from .../php5-ldap_5.3.3-7+squeeze8_amd64.deb) ...
Processing triggers for libapache2-mod-php5 ...
Reloading web server config: apache2.
Setting up php5-ldap (5.3.3-7+squeeze8) ...
root@debian-net:/# /etc/init.d/apache2 restart
Restarting web server: apache2 ... waiting .


Если вам помогла или просто понравилась статья - плюсаните/поделитесь, пожалуйста.

Добавить комментарий