Looks like phpLDAPadmin works with OpenDJ out of the box. All I needed to change to get started was to replace port 389 with 1389. (I installed OpenDJ as my normal user.)
The following instructions worked for me on Ubuntu 12.04.
- Install phpLDAPadmin.
Ubuntu for example has aphpldapadminpackage.$ sudo apt-get install phpldapadmin
- Install Java.
Ubuntu has anopenjdk-6-jrepackage.$ sudo apt-get install openjdk-6-jre
- Install OpenDJ. Here’s how to start with 2.4.5 for example.
$ cd Downloads/ $ wget http://download.forgerock.org/downloads/opendj/2.4.5/OpenDJ-2.4.5.zip $ cd /path/to/ $ unzip ~/Downloads/OpenDJ-2.4.5.zip $ ./OpenDJ-2.4.5/setup
- Edit the configuration if necessary.
$ sudo vi /etc/phpldapadmin/config.php
For example, if OpenDJ listens on port 1389, change the server port setting to:
$servers->setValue('server','port',1389);You can make a number of other changes in the configuration file. For details, see http://phpldapadmin.sourceforge.net/wiki/index.php/Config.php
- Open phpLDAPadmin, login, and start to manage OpenDJ.


Here is a howto installing phpLDAPadmin in a EC2 Amazon Linux AMI instance (CentOS).
# from a clean image, update and install the following packages.
sudo yum -y update
sudo yum -y install httpd
sudo yum -y install php
sudo yum -y install php-ldap
sudo yum -y –enablerepo=epel install phpldapadmin
sudo /sbin/chkconfig httpd on
Update the phpldapadmin.conf and set the access level you prefer
sudo nano /etc/httpd/conf.d/phpldapadmin.conf
# Order Deny,Allow
# Deny from all
# Allow from 127.0.0.1
# Allow from ::1
Allow from all
# Update the default phpLDAPadmin port to match the default OpenDJ port
sudo nano /usr/share/phpldapadmin/config/config.php
# Change the following line, where the default port is defined to the default OpenDJ port (search in nano by using ctrl-w).
// $servers->setValue(‘server’,'port’,389);
To
$servers->setValue(‘server’,'port’,1389);
#
# Also change how user should authenticate themselves to phpLDAPadmin
#
Comment the following line:
$servers->setValue(‘login’,'attr’,'dn’);
to
// $servers->setValue(‘login’,'attr’,'dn’);
# Restart the apache httpd deamon
sudo service httpd restart
Assuming OpenDJ is default installed as described above.