Home  >  Article  >  Backend Development  >  Detailed explanation of PHP compilation parameter configure configuration

Detailed explanation of PHP compilation parameter configure configuration

藏色散人
藏色散人forward
2020-01-13 13:56:093626browse

Compilation parameters - use

./configure -h

In the source code directory, this command can view all compilation parameters and Corresponding English explanation

Compilation parameters-description

--prefix=/opt/php //Specify the php installation directory

--with- apxs2=/usr/local/apache/bin/apxs //Integrate Apache

--with-config-file-path=/opt/php/etc //Specify the location of php.ini

--with-config-file-scan-dir=/opt/php/etc/php.d //Specify the folder where additional expansion configuration is stored

--enable-safe-mode //Open Safe mode

--enable-ftp //Turn on ftp support

--enable-zip //Turn on zip support

--with-bz2 // Turn on support for bz2 files

--with-jpeg-dir //Turn on support for jpeg pictures

--with-png-dir //Turn on support for png pictures

--with-freetype-dir //Turn on support for the freetype font library

--without-iconv //Close the iconv function and convert between various character sets

--with-libXML-dir //Open support for the libxml2 library

--with-XMLrpc //Open the c language of xml-rpc

--with-zlib-dir //Open zlib library support

--with-gd //Turn on gd library support

--enable-gd-native-ttf //Support TrueType string function library

--with-curl //Open support for curl browsing tools

--with-curlwrappers //Use curl tool to open url stream

--with-ttf //Open freetype1.* Support can be omitted

--with-xsl //Open XSLT file support, extended libXML2 library, requires libxslt software

--with-gettext //Open gnu's gettext Supported, the coding library uses

--with-pear //Turn on support for the pear command, PHP extension uses

--enable-calendar //Turn on the calendar extension function

--enable-mbstring //Multi-byte, string support

--enable-bcmath //Precision calculation, solving the painful digital operation accuracy problem

--enable -sockets //Open sockets support

--enable-exif //Picture metadata support

--enable-magic-quotes //Magic quote support

--disable-rpath //Close additional runtime files

--disable-debug //Close debug mode

--with-ldap-dir //Lightweight directory access protocol

For more PHP related knowledge, please visit PHP Tutorial!

The above is the detailed content of Detailed explanation of PHP compilation parameter configure configuration. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:segmentfault.com. If there is any infringement, please contact admin@php.cn delete