Install FreeType Support for DirectAdmin

# install freetype-devel
yum install freetype-devel -y

# patch the build script
cp -f /usr/local/directadmin/customapache/build /usr/local/directadmin/customapache/build.bak
cat /usr/local/directadmin/customapache/build.bak | sed "s/without-freetype/with-freetype/g" > /usr/local/directadmin/customapache/build
chmod 755 /usr/local/directadmin/customapache/build

cd /usr/local/directadmin/customapache
./build gd -y

Leave a Reply