Today, when compiling PHP with the source code, found that relying on more things, on the record some of my machine encountered problems, welcome to add
----------------------------------------------------------------------
Error:cannot find OpenSSL ' s <evp.h>
Yum Install Openssl-devel
-----------------------------------------------------------------------
Checking for BZIP2 in default path ... not found
Configure:error:Please Reinstall the BZIP2 distribution
Yum Install Bzip2-devel
----------------------------------------------------------------------
Configure:error:jpeglib.h not found.
Yum Install-y libjpeg-devel
------------------------------------------------------------------------
Configure:error:png.h not found.
Yum Install-y libpng-devel
--------------------------------------------------------------------------
Configure:error:freetype.h not found.
Yum Install-y FreeType
Yum Install-y freetype-devel
-----------------------------------------------------------------------------
Configure:error:mcrypt.h not found. Please reinstall Libmcrypt.
Yum Install-y Libmcrypt
Yum Install-y libmcrypt-devel
Note: These two packages are installed from the Epel this extension has yum source, if not installed Epel, may also want to download
-------------------------------------------------------------------------------------------
This article is from the "Eleven" blog, make sure to keep this source http://elevencup.blog.51cto.com/2643613/1639373
Source code Compilation Installation PHP5.3 Problem summary