[Reprint]linux compiler PHP Configure parameters specific meaning

Source: Internet
Author: User
Tags ibm db2 mcrypt ming session id pear php compiler zend

Compiled n times the same thing.

Original address:Linux compiled php configure parameters specific meaning of the Czech Heart special

Meaning of PHP compiler parameters

./configure

–prefix=/usr/local/phpPHPinstallation directory
–with-apxs2=/usr/local/apache/bin/apxs
–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

CGI mode installation only parameter
–enable-fpm                       after the PHP-FPM patch has this parameter, the CGI installation of the startup program
– enable-fastcgi                    support fastcgi way to start PHP
–enable-force-cgi-redirect              ditto, help doesn't explain
–with-ncurses                       Dynamic library that supports ncurses screen rendering and graphical interactive functions based on text terminals
– Enable-pcntl           freetds need to use, may be linked to MSSQL to use the

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

Full list of PHP configuration options
Database options
--with-dbplus
Includes support for Dbplus.
--with-adabas[=dir]
Includes support for Adabas D. DIR is the basic installation directory for Adabas, and the default is/usr/local.
--with-sapdb[=dir]
Includes support for SAP DB. DIR is the basic installation directory for SAP DB, which defaults to/usr/local.
--with-solid[=dir]
Includes Solid support. DIR is the basic installation directory of Solid and defaults to/usr/local/solid.
--with-ibm-db2[=dir]
Includes support for IBM DB2. DIR is the basic installation directory for DB2, and the default is/home/db2inst1/sqllib.
--with-empress[=dir]
Includes support for Empress. DIR is the basic installation directory for Empress, which defaults to $EMPRESSPATH. Since PHP4, this option only supports Empress 8.60 and later.
--with-empress-bcs[=dir]
Includes support for Empress Local Access. DIR is the basic installation directory for Empress, and the default is $empresspath. Since PHP4, this option only supports Empress 8.60 and later.
--with-birdstep[=dir]
Includes support for Birdstep. DIR is the basic installation directory for Birdstep, and the default is/usr/local/birdstep.
--with-custom-odbc[=dir]
Includes support for user-definable ODBC. DIR is the basic installation directory for ODBC, which defaults to/usr/local. Verify that custom_odbc_libs is defined and that there is a odbc.h in the Include directory. For example, for Sybase sqlanywhere 5.5.00 under QNX, the following environment variables should be defined before running the Configure script: cppflags= "-dodbc_qnx-dsqlany_bug" Ldflags=-lunix Custom_odbc_libs= "-ldblib-lodbc".
--with-iodbc[=dir]
Includes support for IODBC. DIR is the basic installation directory for IODBC, and the default is/usr/local.
--with-esoob[=dir]
Includes support for Easysoft OOB. DIR is the base installation directory for OOB, which defaults to/usr/local/easysoft/oob/client.
--with-unixodbc[=dir]
Includes support for UnixODBC. DIR is the basic installation directory for UnixODBC, and the default is/usr/local.
--with-openlink[=dir]
Includes support for OpenLink ODBC. DIR is the basic installation directory for OpenLink, and the default is/usr/local. This is the same as IODBC.
--with-dbmaker[=dir]
Includes support for Dbmaker. DIR is the basic installation directory for Dbmaker, which defaults to the latest version of Dbmaker installed directory (for example,/home/dbmaker/3.6).
--disable-unified-odbc
Cancels support for unified ODBC. Applies only to Iodbc,adabas,solid,velocis or user-defined ODBC interfaces that have been activated. Can only be used in PHP 3!
Image options
--without-gd
Disables GD support. For PHP 3 only!
--with-imagick
The Imagick extension is moved to the PECL in PEAR, which can be found here. Installation instructions in PHP 4 can be found in the pear site.
Only--with-imagick is supported in PHP 3, except as instructed by the PEAR site.
--with-ming[=dir]
Includes Ming support.
Miscellaneous options
--enable-force-cgi-redirect
Activates security checks for internal redirection of the server. This option should be used if you are using PHP in CGI in Apache.
--enable-discard-path
This option allows the PHP CGI executable to be securely placed outside the web directory tree, and no one else can bypass the. htaccess security settings.
--with-fastcgi
Compile PHP into a FastCGI application.
--enable-debug
Debug symbols are added at compile time.
--with-layout=type
Sets the file layout after installation. The TYPE can be PHP (default) or GNU.
--with-pear=dir
Install PEAR in the DIR directory (default is prefix/lib/php).
--without-pear
Do not install PEAR.
--enable-sigchild
Activates PHP's own SIGCHLD handle.
--disable-rpath
Suppresses the delivery of additional run-time library search paths.
--enable-libgcc
Activates an explicit LIBGCC connection.
--enable-php-streams
The PHP stream that contains the experiment. Do not use unless you are testing the source code!
--with-zlib-dir=<dir>;
definitionzlib the installation path.
--with-aspell[=dir]
Contains ASPELL support.
--with-ccvs[=dir]
Contains CCVS support.
--with-cybercash[=dir]
Contains CyberCash support. DIR is the installation directory for the CyberCash MCK.
--with-icap[=dir]
Contains ICAP support.
--with-ircg-config
The path to the Ircg-config script.
--with-ircg
Contains IRCG support.
--enable-mailparse
Contains Mailparse support.
--with-muscat[=dir]
Contains Muscat support.
--with-satellite[=dir]
Activates CORBA support through the satellite (experimental nature). DIR is the home directory of the ORBit.
--enable-trans-sid
Activates the transparent session ID propagation.
--with-regex[=type]
Use the System Regex library (not approved).
--with-vpopmail[=dir]
Contains Vpopmail support.
--with-tsrm-pthreads
Use a POSIX thread (the default value).
--ENABLE-SHARED[=PKGS]
Compile the shared library [Default=yes].
--ENABLE-STATIC[=PKGS]
Compile the static library [Default=yes].
--ENABLE-FAST-INSTALL[=PKGS]
Optimized for quick installation [Default=yes].
--with-gnu-ld
Assume that the C compiler uses the GNU ld [Default=no].
--disable-libtool-lock
Avoid lock-in (parallel compilation may be corrupted).
--with-pic
Try using only the Pic/non-pic object [Default=use both].
--enable-memory-limit
Added memory limit support at compile time.
--disable-url-fopen-wrapper
Fopen wrapper through URLs is forbidden, and files cannot be accessed via HTTP or FTP.
--enable-versioning
Only the required symbols are output. See the INSTALL file for more information.
--with-imsp[=dir]
Contains IMSp support (DIR is the Include directory and LIBIMSP.A directory for IMSp). For PHP 3 only!
--with-mck[=dir]
Contains CyberCash MCK support. DIR is the CyberCash mck compiled directory, which defaults to/usr/src/mck-3.2.0.3-linux. Help See Extra/cyberlib. For PHP 3 only!
--with-mod-dav=dir
Includes DAV support via Apache's Mod_dav. DIR is the installation directory for Mod_dav (Apache module version only!). ) only for PHP 3!
--enable-debugger
Compile into the remote debugging function. For PHP 3 only!
--enable-versioning
Leverages the benefits of version control and scope provided by Solaris 2.x and Linux. For PHP 3 only!
PHP Options
--enable-maintainer-mode
Activates the compilation rules and unused (and some confusing) dependent files into a temporary installation.
--with-config-file-path=path
settingphp.ini the path to which the default isPrefix/lib.
--enable-safe-mode
The security mode is activated by default.
--with-exec-dir[=dir]
In Safe mode, only the program is allowed to execute under this directory. Default is/usr/local/php/bin.
--enable-magic-quotes
The Magic quotes is activated by default.
--disable-short-tags
Default prohibit shorthand PHP start tag <?.
Server Options
--with-aolserver=dir
Specifies the path of the installed Aolserver.
--with-apxs[=file]
Compile the shared Apache module. FILE is the path to the optional Apache APXS tool, which defaults to APXS. Make sure that the specified APXS version is the installed file instead of the Apache source program in the package.
--with-apache[=dir]
compilingApache module. DIRis a Apache the highest level of directory for the source program. Default is/usr/local/apache.
--with-mod_charset
Activates the pass-through table in Mod_charset (Apache).
--with-apxs2[=file]
Compilation of SharedApache 2.0 module. FILEis optional Apache of theApxs the path to the tool, which defaults toApxs.
--with-fhttpd[=dir]
Compile the FHTTPD module. DIR is the source code path for FHTTPD, which defaults to/USR/LOCAL/SRC/FHTTPD.
--with-isapi=dir
Compile PHP as an ISAPI module for Zeus.
--with-nsapi=dir
Specifies the installed Netscape server path.
--with-phttpd=dir
No information is currently being held.
--with-pi3web=dir
Compile PHP as a module for Pi3web.
--with-roxen=dir
Compile PHP into a Pike module. DIR is the root directory of Roxen, usually/usr/local/roxen/server.
--enable-roxen-zts
Compile the Roxen module, using the Zend Thread Safety.
--with-servlet[=dir]
Contains servlet support. DIR is the basic installation directory for JSDK. This SAPI requires that the Java extension be compiled into a shared DL.
--with-thttpd=srcdir
Compile PHP into a thttpd module.
--with-tux=moduledir
Compile PHP into a TUX module (Linux only).

[Reprint]linux compiler PHP Configure parameters specific meaning

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.