1. Download and install PHP
1.1 Compiling the installation
Pre-Installation Preparation
1[Email protected]/opt/soft]#wget FTP://ftp.pbone.net/mirror/ftp5.gwdg.de/pub/opensuse/repositories/home:/csbuild:/centosextra/centos_centos-6/x86 _64/libmcrypt-devel-2.5.8-4.3.x86_64.rpm2[Email protected]/opt/soft]#wget FTP://ftp.pbone.net/mirror/ftp5.gwdg.de/pub/opensuse/repositories/home:/csbuild:/centosextra/centos_centos-6/x86 _64/libmcrypt-2.5.8-4.3.x86_64.rpm3 4[Email protected]/opt/soft]# RPM-IVH libmcrypt-*5warning:libmcrypt-2.5.8-4.3. X86_64.rpm:Header V3 dsa/SHA1 Signature, key ID 04b8b50a:nokey6Preparing ... ########################################### [ -%]7 1: Libmcrypt ########################################### [ -%]8 2: Libmcrypt-devel ########################################### [ -%]9 Ten[Email protected]/opt/soft]#YumGroupinstall-y"Development Tools" One[Email protected]/opt/soft]#Yum Install-YGCC GCC-c++ gd mhash gettext iconv autoconf automake libjpeg libjpeg-devel libpng libpng-devel freetype freetype-devel libxml2 li Bxml2-devel zlib zlib-devel glibc glibc-devel glib2 glib2-develbzip2 bzip2-devel ncurses ncurses-devel Curl curl-devel e2fsprogs e2fsprogs-devel krb5 krb5-devel libidn libidn-devel OpenSSL OpenSSL -devel openldap openldap-devel nss_ldap openldap-clients openldap-servers
Download PHP
1 wget http://cn2.php.net/distributions/php-5.6.21.tar.gz
Compiling the installation
1.2 Related Settings
Installation and testing of PHP-FPM