Finally got LDAP working with a PHP front end. 1) Install all the OpenLDAP packages in WHM->Software->Install a RPM (openldap, clients, devel, servers)2) Put a custom build configure flag in the all_php5 file as shown here (NB for me the command was -with