Install PHP under Linux, source code installation, the total need to configure a lot of parameters. The common configuration parameters are listed here, and are explained in detail in Chinese. give you some reference./configure
--prefix=/usr/local/php PHP installation directory
--with-apxs2=/usr/local/apache/bin/apxs
--with-config-file-path=/usr/local/php/etc Specify php.ini Location
--with-mysql=/usr/local/mysql MySQL installation directory, support for MySQL
--with-mysqli=/usr/local/mysql/bin/mysql_config mysqli file directory, optimizing support
--enable-safe-mode Open Safe Mode
--ENABLE-FTP to open FTP support
--enable-zip Open support for zip
--WITH-BZ2 open support for bz2 files
--with-jpeg-dir open support for JPEG images
--with-png-dir open support for PNG pictures
--with-freetype-dir open support for the FreeType font library
--without-iconv Turn off the Iconv function, the conversion between the kind of character sets
--with-libxml-dir to open LIBXML2 Library support
--WITH-XMLRPC Open XML-RPC's C language
--with-zlib-dir to open zlib library support
--WITH-GD to open the GD library support
--enable-gd-native-ttf supports TrueType string function libraries
--with-curl Open the Curl Browsing tool support
--with-curlwrappers Use Curl tool to open URL stream
--with-ttf Open the freetype1.* support, you can not add the
--with-xsl opens XSLT file support, expands the LIBXML2 library, and requires LIBXSLT software
--with-gettext Open GNU's gettext support, the code library uses
--with-pear opens the support for the Pear command, which is used for PHP extensions
--enable-calendar to open the Calendar extension feature
--enable-mbstring multiple bytes, string support
--enable-bcmath Open picture resizing, use this module for Zabbix monitoring
--enable-sockets Open Sockets support
Meta-data support for--enable-exif pictures
Support for--enable-magic-quotes Magic references
--disable-rpath shutdown of additional runtime files
--disable-debug Turn off debug mode
--with-mime-magic=/usr/share/file/magic.mime Magic Header File location
CGI-mode installation parameters
--ENABLE-FPM php-fpm patch only after this parameter, CGI installation of the boot program
--ENABLE-FASTCGI support fastcgi way to start PHP
--enable-force-cgi-redirect, no explanation in Help.
--with-ncurses supports ncurses screen drawing and dynamic library of graphics interactive function based on text terminal
--enable-pcntl FreeTDS need to use, may be linked to MSSQL to use
Extension of Mhash and MCrypt algorithms
--with-mcrypt algorithm
--with-mhash algorithm
--with-gmp
--enable-inline-optimization
--with-openssl OpenSSL support for encrypted transmission
--enable-dbase
--with-pcre-dir=/usr/local/bin/pcre-config Perl's regular library case installation location
--disable-dmalloc
--WITH-GDBM DBA support for GDBM
--enable-sigchild
--enable-sysvsem
--enable-sysvshm
--enable-zend-multibyte supports Zend of multiple bytes
--enable-mbregex
--enable-wddx
--enable-shmop
--enable-soap