yum -y install libc-client-*
进入php的文件夹 php5.4/ext/imap/
/usr/local/php/bin/phpize ./configure --with-php-config=/usr/local/php/bin/php-config --with-kerberos=/usr --with-imap-ssl=/usr make && make install
1. 找不到libc-client.a library, 需要手动添加文件link, Errof info:
ln -s /usr/lib64/libc-client.so /usr/lib/libc-client.so
yum -y install krb5* ln -s /usr/lib64 /usr/kerberos/lib