# yum -y install libtool-ltdl-devel
# make distclean
# ./configure –with-apxs2=/usr/local/apache2/bin/apxs –with-mysql=/usr/local –with-mysqli=/usr/local/bin/mysql_config –with-pgsql=/usr/local/pgsql –with-imap –with-imap-ssl –with-gd –with-jpeg-dir=shared –with-mcrypt –enable-zend-multibyte –enable-mbstring –enable-calendar -with-zlib
# make
# make test
# make install