Tag Archive for custombuild

Directadmin — add IMAP module to php

Reported for custombuild:

1) install c-client.
Debian:
apt-get install libc-client-dev

rpm systems (CentOS, fedora):
yum install libc-client libc-client-devel
Read more

Directadmin — add custom modules to php with custombuild

If you want to add any extra modules to php, they’ll most likely need to be compiled in. Any module that needs to be compiled in will have a —with-module type flag which will need to be used. To add this flag, run the following:

cd /usr/local/directadmin/custombuild
mkdir -p custom/ap2
cp -fp configure/ap2/configure.php5 custom/ap2/configure.php5

#add your —with-module line to the end of the custom/ap2/configure.php5 file,
# and make sure the \ character exists at the end of all lines except the last one.
Read more