HOWTO: PHP with IMAP support for CentOS6

Argim

New member
Joined
May 11, 2009
Messages
4
...
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.
 

smtalk

Administrator
Staff member
Joined
Aug 22, 2006
Messages
9,112
Location
LT, EU
Please post the output of:
Code:
cd /usr/local/directadmin/custombuild
./build used_configs
 

tristan

Verified User
Joined
Feb 11, 2005
Messages
430
Location
The Netherlands
@smtalk would be very nice to have IMAP support as an option directly in CB, ever thought of that?
 
Last edited:

dannygoh

Verified User
Joined
Feb 9, 2004
Messages
388
Location
Malaysia
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
 
Top