Install the development package: yum-ygroupinstall & quot; DevelopmentTools & quot; install mysql :&
Pure Centos 6.5 system
Configure the 163yum source (a document will be written later)
Install the Development software package: yum-y groupinstall "Development Tools"
Install mysql: yum-y install mysql-server mysql-devel
Download php-5.6.2 wgethttp: // cn2.php.net/distributions/php-5.6.2.tar.gz
Unzip tar-zxvf php-5.6.2.tar.gz
Switch to php-5.6.2
. /Configure \ -- prefix =/usr/local/php \ -- with-config-file-path =/usr/local/php/etc \ -- enable-fpm \ -- with-fpm -user = php-fpm \ -- with-fpm-group = php-fpm \ -- with-mysql = mysqlnd \ // here mysqlnd is an internal search command -- with-mysql-sock = /tmp/mysql. sock \ -- with-libxml-dir \ -- with-gd \ -- with-jpeg-dir \ -- with-png-dir \ -- with-freetype-dir \ -- with-iconv- dir \ -- with-zlib-dir \ -- with-mcrypt \ -- enable-soap \ -- enable-gd-native-ttf \ -- enable-ftp \ -- enable-mbstring \ -- enable -exif \ -- disable-ipv6 \ -- with-pear \ -- with-curl \ -- with-openssl
9. if an uninstalled error occurs, directly use yum for installation. do not forget to install-devel (libcurl libpng libcrul12, etc.) 10. if the file path cannot be found, use find/-name 'Name' to search for 11. warning occurs mostly because the version has been installed by default. you can remove this row 12. make13.make install