HostSEO Blog

Stories and News from IT Industry, Reviews & Tips | Technology Blog


How to install php-imap in directadmin

This installation documentation is based on RHEL or Centos based server. If you have debian or BSD , you need to install the proper c-client binary.

# yum install libc-client libc-client-devel krb5-devel krb5-libs

Now edit the file /usr/local/directadmin/custombuild/configure/ap2/configure.php5 and add the following two lines.

--with-imap  \
--with-imap-ssl

Now build the php using the following

# ./build php 5

After the compilation check the phpimap support using a phpinfo page

# php -m | grep imap

It is the easy way to install php-imap in directadmin server

PS: If you  have 64 bit server make sure to enable a soft link as follows

# # ln -s /usr/lib64/libc-client.a /usr/lib/libc-client.a

Subscribe Now

10,000 successful online businessmen like to have our content directly delivered to their inbox. Subscribe to our newsletter!

Archive Calendar

SatSunMonTueWedThuFri
 1234
567891011
12131415161718
19202122232425
262728293031 

Born in 2004 ... Trusted By Clients n' Experts