./configure
--prefix=/application/php5.3.27
--with-mysql=application/mysql
--with-iconv-dir=/usr/local/libiconv
--with-freetype-dir
--with-jpeg-dir
--with-png-dir --with-zlib
--enable-xml
--disable-rpath
--enable-safe-mode
--enable-bcmath
--enable-shmop
--enable-sysysem
--enable-inline-optimization
--with-curl
--with-curlwrappers
--enable-mbregex
--enable-fpm
--enable-mbstring
--with-mcrypt
--with-gd
--enable-gd-native-ttf
--with-openssl
--with-mhash
--enable-pentl
--enable-sockets
--with-xmlrpc
--enable-zip
--enable-soap
--enable-short-tags
--enable-zend-multibYte
--enable -static
--with-xs1
--with-fpm-user=nginx
--with-fpm-group=nging
--enable-ftp
ln -s /application/mysql/lib/libmysqlolient.so.18 /usr/1ib64/
make
make install