Monthly Archives: September 2008

[How-to]Install DOM XML on Directadmin

Below is the tutorial on how-to install DOM-XML in DirectAdmin using customapache.

# yum install libxml2-devel libxslt-devel libgcrypt-devel
# cd /usr/local/directadmin/customapache
# vi configure.php

Add this to configure.php before –with-gd \ :
–with-dom=/usr/lib \
–with-dom-exslt=/usr/lib \
–with-dom-xslt=/usr/lib \

# ./build clean
# ./build php n
# service httpd restart

[DirectAdmin-Problem] Fix DirectAdmin Installation on CentOS 64bit

Make sure you install these before installing DirectAdmin

yum install gcc-c++ libxml2-devel libjpeg-devel libpng-devel -y

As you notice on 64-bit, you have /lib and /lib64. It’s just the dynamic linking in the installer is a bit skewed, now run the command below:

ln -sf /usr/lib64/libgssapi_krb5.so.2.2 /usr/lib/libgssapi_krb5.so

ln -sf /usr/lib64/libkrb5.so.3.3 /usr/lib/libkrb5.so

ln -sf /usr/lib64/libk5crypto.so.3.1 /usr/lib/libk5crypto.so

ln -sf /lib64/libcom_err.so.2 /usr/lib/libcom_err.so

ln -sf /usr/lib64/libexpat.so /usr/lib/libexpat.so

ln -sf /usr/lib64/libm.so /usr/lib/libm.so

ln -sf /usr/lib64/libssl.so /usr/lib/libssl.so