Difference between revisions of "PhpLDAPadmin"

From ArchWiki
Jump to: navigation, search
(Created page with 'Category:Web Server (English) {{i18n_links_start}} {{i18n_entry|English|phpLDAPadmin HOWTO}} ==Pre-Installation== See LAMP for a guide to setting up Apache, MySQL, and …')
 
Line 2: Line 2:
 
{{i18n_links_start}}
 
{{i18n_links_start}}
 
{{i18n_entry|English|phpLDAPadmin HOWTO}}
 
{{i18n_entry|English|phpLDAPadmin HOWTO}}
 
+
{{i18n_links_end}}
 
==Pre-Installation==
 
==Pre-Installation==
  

Revision as of 15:54, 16 March 2010

Template:I18n links start Template:I18n entry Template:I18n links end

Pre-Installation

See LAMP for a guide to setting up Apache, MySQL, and PHP.

Adding php-ldap

PHP needs the php-ldap extension to work with [phpldapadmin.sourceforge.net/ phpLDAPadmin]

pacman -S php-ldap

then edit Template:Filename and uncomment the line

;extension=ldap.so

by removing the ";", so it will look like this

extension=ldap.so

Now add

:/srv/http/phpldapadmin/lib/

to the "open_basedir" line.

Installation

Simply do

pacman -S phpldapadmin

Configuration

phpLDAPadmin comes with a usable example configuration file, so lets use it

cp /srv/http/phpldapadmin/config/config.php.example /srv/http/phpldapadmin/config/config.php

Although not strictly neccessary you can edit Template:Filename and name your server with the line

$servers->setValue('server','name','the_name_you_want');

Accessing your phpMyAdmin installation

Finally your phpLDAPadmin installation is complete. Before start using it you need to restart your apache server by following command:

# /etc/rc.d/httpd restart

You can access your phpLDAPadmin installation using the following url:

http://serverip/phpldapadmin
or
http://localhost/phpldapadmin

Note: 'localhost' is the hostname in your Template:Filename file.