DirectAdmin – PHP-IMAP module toevoegen

Overgenomen van Directadmin: http://www.directadmin.com/imap.txt

Written for CustomBuild 1.2, but can be changed for CB2, see below.
cd /root
wget files.directadmin.com/services/all/imap_php.sh
chmod 755 imap_php.sh
./imap_php.sh

If you'ure using CustomBuild 2.0, edit the file before running it.
Change:
CONFIGURE=configure.php5
to be:
CONFIGURE=configure.php55
or whichever php version.

If you're using suPhp, php-fpm or fastcgi, change:
WEB=ap2
to be:
WEB=suphp
WEB=fpm
WEB=fastcgi