Install PHP under Linux, source code mode installation, always need to configure a lot of parameters. The common configuration parameters are listed here and explained in detail in Chinese. Give us some references
When compiling PHP, use –with-curlwrappers parameters carefully
./configure
--prefix=/usr/local/php PHP installation directory
--WITH-APXS2=/USR/LOCAL/APACHE/BIN/APXS indicates that the apache1.0 version used is APXS, using apache2.0 or later
--with-config-file-path=/usr/local/php/etc Specifying 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, optimization support
--enable-safe-mode Turn on Safe mode
--ENABLE-FTP Support for Open FTP
--enable-zip opening support for zip
--WITH-BZ2 opening support for bz2 files
--with-jpeg-dir opening support for JPEG images
--with-png-dir opening support for PNG images
--with-freetype-dir opening support for the FreeType font library
--without-iconv Close Iconv function, conversion between kinds of character sets
--with-libxml-dir opening support for LIBXML2 libraries
--WITH-XMLRPC Open the C language of XML-RPC
--with-zlib-dir opening support for zlib libraries
--WITH-GD opening the GD library support
--enable-gd-native-ttf supports TrueType string function libraries
--with-curl opening the Curl browsing tool support
--with-curlwrappers using the Curl tool to open the URL stream
--with-ttf Open freetype1.* Support, can not add
--with-xsl opens XSLT file support, expands the LibXML2 library, requires LIBXSLT software
--with-gettext opens the GNU gettext Support, the code library uses the
--with-pear Open the support for Pear command, PHP extension with
--enable-calendar opening the Calendar extension feature
--enable-mbstring Multi-byte, string support
--enable-bcmath Open picture resizing, use this module for Zabbix monitoring
--enable-sockets Open Sockets support
Meta-data support for--ENABLE-EXIF images
--enable-magic-quotes Support for Magic quotes
--disable-rpath to close additional runtime files
--disable-debug turning off debug mode
--with-mime-magic=/usr/share/file/magic.mime Magic Head File location
Parameters for CGI mode installation
--ENABLE-FPM hit the php-fpm patch only after this parameter, CGI installation of the startup program
--ENABLE-FASTCGI support FastCGI way to start PHP
--enable-force-cgi-redirect, there's no explanation in Help.
--with-ncurses supports ncurses screen drawing and dynamic library based on text terminal's interactive function of graphics
--enable-pcntl FreeTDS need to use, may be linked to MSSQL to use
Extension of the Mhash and MCrypt algorithms
--with-mcrypt algorithm
--with-mhash algorithm
--with-gmp
--enable-inline-optimization
--with-openssl OpenSSL support for encrypted transmissions
--enable-dbase
--with-pcre-dir=/usr/local/bin/pcre-config Perl's regular library installation location
--disable-dmalloc
--WITH-GDBM DBA's GDBM support
--enable-sigchild
--enable-sysvsem
--enable-sysvshm
--enable-zend-multibyte Multi-byte support for Zend
--enable-mbregex
--enable-wddx
--enable-shmop
--enable-soap
PHP compilation parameter annotations--do not understand the role of many parameters "reprint" with –with-curlwrappers parameters carefully