HOWTO: PHP with IMAP support for CentOS6

...
and then add to /usr/local/directadmin/custombuild/custom/{ap1,ap2,suphp}/configure.phpX (where X is the version of PHP and either ap1, ap2 or suphp).
...

Exactly how do I know which custom build should I use (ap1, ap2, suphp) ? My server administrator is so busy he can't even answer that for me. I'm crossing my fingers and using this guide, but I don't want to choose a version randomly.

Thanks.
 
Please post the output of:
Code:
cd /usr/local/directadmin/custombuild
./build used_configs
 
@smtalk would be very nice to have IMAP support as an option directly in CB, ever thought of that?
 
Last edited:
Hi,

How do I know which is my cb is using?

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

#PHP Settings
php1_release=5.5
php1_mode=mod_php
php2_release=no
php2_mode=php-fpm
opcache=no
htscanner=no
php_ini=no
php_timezone=Asia/Kuala_Lumpur
php_ini_type=production
ioncube=yes
zend=yes
suhosin=no
x_mail_header=yes

#WEB Server Settings
webserver=apache
litespeed_serialno=trial
modsecurity=no
modsecurity_ruleset=comodo
apache_ver=2.4
apache_mpm=auto
mod_ruid2=yes
harden_symlinks_patch=yes
use_hostname_for_alias=no
redirect_host=get01.webhosting88.net
redirect_host_https=no
 
Back
Top