When installing php source code, you must install PHP in Linux. many parameters are required. Common configuration parameters are listed here and explained in Chinese. For your reference. /configure-prefix =/usr/local/PHP ????????????????????????????? ??? Parameters for installing php source code
Install PHP in Linux and install it in source code mode. many parameters need to be configured. Common configuration parameters are listed here and explained in Chinese.
For your 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 the php. ini location
-With-MySQL =/usr/local/mysql ??????????????????????? Mysql installation directory, which supports mysql
-With-MySQLi =/usr/local/mysql/bin/mysql_config ??????????? Mysqli file directory, optimized support
-Enable-safe-mode ????????????????????????????? Enable security mode
-Enable-ftp ???????????????????????????????? Enable ftp support
-Enable-zip ???????????????????????????????? Open support for zip
-With-bz2 ??????????????????????????????????? Open the support for bz2 files ????????????????????????
-With-jpeg-dir ???????????????????????????????? Enable support for jpeg images
-With-png-dir ???????????????????????????????? Open support for png images
-With-freetype-dir ????????????????????????????? Open support for freetype library
-Without-iconv ???????????????????????????????? Disable the iconv function to convert character sets.
-With-libXML-dir ???????????????????????????????? Open libxml2 library support
-With-XMLrpc ???????????????????????????????? Open the C language of xml-rpc
-With-zlib-dir ???????????????????????????????? Support for opening zlib library
-With-gd ??????????????????????????????????? Support for opening the gd Library
-Enable-gd-native-ttf ?????????????????????????? Support TrueType string function library
-With-curl ??????????????????????????????????? Enable support for the curl browser tool
-With-curlwrappers ????????????????????????????? Use curl to open a url Stream
-With-ttf ??????????????????????????????????? Enable freetype1. *.
-With-xsl ???????????????????????????????????? Open the XSLT file support and extend the libXML2 library. libxslt software is required.
-With-gettext ???????????????????????????????? Open the gnu gettext support, which is used by the encoding library.
-With-pear ????????????????????? Open support for the pear command and use
-Enable-calendar ????????????????? Enable calendar extension
-Enable-mbstring ????????????????? Multi-byte, string supported
-Enable-bcmath ????????????????? This module is used when zabbix monitoring is used to enable image size adjustment.
-Enable-sockets ????????????????? Enable sockets support
-Enable-exif ????????????????????? Metadata support for images
-Enable-magic-quotes ?????????????? Magic reference support
-Disable-rpath ???????????????????? Close additional running library files
-Disable-debug ????????????????? Disable debugging mode
-With-mime-magic =/usr/share/file/magic. mime ????? Magic header file location