Install Openldap-Devel
yum -y install openldap-devel
ໃຫ້ copy ໄຟລ php version ທີ່ໃຊ້ໃນຕົວຢ່າງຈະກັບ php version 5.6
cd /usr/local/directadmin/custombuild mkdir -p custom/ap2 cp -fp configure/ap2/configure.php56 custom/ap2/configure.php56
ເພີ່ມ ldap ແລະ ldap-sasl ເພື່ອລໍຖ້າ custombuild ເຮັດວຽກ
--with-ldap=/usr \ --with-ldap-sasl=/usr
ln -s /usr/lib64/libldap.so /usr/lib/libldap.so ln -s /usr/lib64/libldap_r.so /usr/lib/libldap_r.so
build ຜ່ານ custombuild
./build all d