HOWTO: PHP with IMAP support for CentOS6
I’ve pulled my hairs getting a proper working version of IMAP compiled within PHP. The trick was to compile the extension without issues. I wanted to get the latest version of IMAP. As such the way to go on CentOS 6.3 x86_64 (64 bits) was: Prepare the OS Code: yum install -y pam-devel libc-client libc-client-devel Install IMAP from source Code: wget ftp://ftp.cac.washington.edu/imap/imap-2007f.tar.gz tar -zxvf imap-2007f.tar.gz cd imap-2007* make lr5 PASSWDTYPE=std SSLTYPE=unix.nopwd IP6=4 echo "set disable-plaintext nil" > /etc/c-client.cf mkdir /usr/local/imap-2007f…