Error 1:configure:error:xml2-config not found. Please check your LIBXML2 installation.
Solution: Yum install-y libxml2-devel
Error 2:configure:error:cannot find OpenSSL ' s <evp.h>
Solution: Yum install-y OpenSSL Openssl-devel
Error 3:checking for BZIP2 in default path ... not found
Configure:error:Please Reinstall the BZIP2 distribution
Solution: Yum install-y bzip2 Bzip2-devel
Error 4:configure:error:png.h not found.
Solution: Yum install-y libpng libpng-devel
Error 5:configure:error:freetype.h not found
Solution: Yum install-y freetype Freetype-devel
Error 6:configure:error:jpeglib.h not found.
Solution: Yum install-y libjpeg-devel
Error 7:configure:error:png.h not found.
Solution: Yum install-y libpng libpng-devel
Error 8:configure:error:mcrypt.h not found. Please reinstall Libmcrypt.
Solution: Rpm-ivh "http://www.aminglinux.com/bbs/data/attachment/forum/month_1211/epel-release-6-7.noarch.rpm"
Yum Install-y libmcrypt-devel
Errors that occur when you install PHP