See LAMP for a guide to setting up Apache, MySQL, and PHP.
Install the package official repositories.from the
Copy the Apache configuration file:
# cp /etc/webapps/phpldapadmin/apache.example.conf /etc/httpd/conf/extra/httpd-phpldapadmin.conf
And include it in
# phpldapadmin configuration Include conf/extra/httpd-phpldapadmin.conf
By default, everyone can see the phpLDAPadmin page, to change this, edit
/etc/httpd/conf/extra/httpd-phpldapadmin.conf to your liking. For example, if you only want to be able to access it from the same machine, replace
Allow from all by
Allow from localhost.
You need to enable the
php-ldap extension in PHP by editing
/etc/php/php.ini and uncommenting the line
phpLDAPadmin's configuration file is located at
/etc/webapps/phpldapadmin/config.php. If you have a local LDAP server, it should be usable without making any modifications.
If your LDAP server is not on the localhost, uncomment and edit the following line:
Although not strictly neccessary you can edit
config.php and name your server with the line
$servers->setValue('server','name','My LDAP server');
Accessing your phpLDAPadmin installation
Your phpLDAPadmin installation is now complete. Before start using it you need to restart Apache.
You can access your phpLDAPadmin installation by going to http://localhost/phpldapadmin