Some of the Configure parameters when compiling PHP

Source: Internet
Author: User
Tags gettext ibm db2 mcrypt ming zend

some of the Configure parameters when compiling PHP./Configure–prefix=/usr/local/php PHP installation directory –with-apxs2=/usr/local/apache/bin/Apxs–with-config-file-PATH=/USR/LOCAL/PHP/ETC specifies PHP.INI location –with-MySQL=/usr/local/MySQLMySQL installation directory, support for MySQL –with-mysqli=/usr/local/MySQL/bin/mysql_config mysqli file directory,Optimization Support –enable-safe-mode open Safe Mode –enable-FTP Open FTP support –enable-zip-open support for zip –with-bz2 Open support for bz2 files –with-jpeg-dirturn on support for JPEG pictures –with-png-diropen support for PNG images –with-freetype-diropen support for the FreeType font library –without-IconvTurn off the Iconv function, the conversion between the kinds of character sets –with-libxml-diropen support for the LIBXML2 library –with-XMLRPC Open xml-RPC's C language –with-zlib-diropen support for the zlib library –with-GD Open the support of GD library –enable-gd-native-TTF supports TrueType string function library –with-Curl opens the support for Curl Browsing tool –with-Curlwrappers using the Curl tool to open the URL stream –with-ttf Open freetype1.*support, can not add the –with-XSL opens XSLT file support, expands the LIBXML2 library, requires libxslt software –with-GetText Open GNU gettext Support, encoding library for –with-Pear Open the support for Pear command, PHP extension with –enable-Calendar Open Calendars extension feature –enable-mbstring Multi-byte, string support –enable-bcmath Open picture Resizing,This module was used when Zabbix monitoring was used –enable-sockets Open Sockets support –enable-EXIF Image metadata support –enable-magic-Quotes Magic Quote Support –disable-Rpath Close the additional runtime files –disable-Debug off debugging mode –with-mime-magic=/usr/share/file/magic.MIME Magic header file location CGI mode installation only parameters –enable-FPM hit php-.the FPM patch only has this parameter, the CGI-style installation of the boot program –enable-FASTCGI supports fastcgi mode startup php–enable-force-cgi-redirect Ibid.,The help didn't explain –with.-ncurses supports ncurses screen rendering and dynamic library –enable based on text terminal interactive functions-pcntl FreeTDS need to use, may be linked to MSSQL to use the Mhash and mcrypt algorithm extension –with-MCrypt algorithm –with-Mhash algorithm –with-gmp–enable-inline-Optimization–with-support for OpenSSL OpenSSL, –enable for encrypted transmissions-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 –enable support for Zend-mbregex–enable-wddx–enable-shmop–enable-soap PHP configuration options full list database options –with-Dbplus includes support for Dbplus. –with-adabas[=DIR] includes support for Adabas D. DIRis the basic installation directory for Adabas, the default is/usr/Local. –with-sapdb[=DIR] includes support for SAP DB. DIRis the basic installation directory for SAP DB, the default is/usr/Local. –with-solid[=DIR] includes Solid support. DIRis the basic installation directory of Solid, the default is/usr/local/Solid. –with-ibm-db2[=DIR] includes support for IBM DB2. DIRis the basic installation directory for DB2, the default is/home/db2inst1/Sqllib. –with-empress[=DIR] includes support for Empress. DIRis the basic installation directory for Empress, which defaults to$EMPRESSPATH。 Since PHP4, this option only supports Empress 8.60and above versions. –with-empress-bcs[=DIR] includes support for Empress Local Access. DIRis the basic installation directory for Empress, which defaults to$EMPRESSPATH。 Since PHP4, this option only supports Empress 8.60and above versions. –with-birdstep[=DIR] includes support for Birdstep. DIRis the basic installation directory for Birdstep, the default is/usr/local/Birdstep. –with-custom-odbc[=DIR] includes support for user-defined ODBC. DIRis the basic installation directory for ODBC, which defaults to/usr/local. To confirm that the custom_odbc_libs is defined andincludeThere is a odbc.h in the directory. For example, for Sybase SQL Anywhere 5.5.00 under QNX, the following environment variables should be defined before running the Configure script: cppflags= "-dodbc_qnx-dsqlany_bug" Ldflags=-lunix C Ustom_odbc_libs= "-ldblib-lodbc".–with-iodbc[=DIR] includes support for IODBC. DIRis the basic installation directory for IODBC, the default is/usr/Local. –with-esoob[=DIR] includes support for Easysoft OOB. DIRis the base installation directory for OOB, default is/usr/local/easysoft/oob/client. –with-unixodbc[=DIR] includes support for UnixODBC. DIRis the basic installation directory for UnixODBC, the default is/usr/Local. –with-openlink[=DIR] includes support for OpenLink ODBC. DIRis the basic installation directory for OpenLink, the default is/usr/Local.  This is the same as IODBC. –with-dbmaker[=DIR] includes support for Dbmaker. DIRis 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 with PHP3! Image Options –without-GD disables GD support. For PHP only3! –with-The imagick Imagick extension was moved to the PECL in PEAR, which can be found here. PHP4the installation instructions in the PEAR site can be found in the. Only with –with-imagick only in PHP 3unless instructed to do so in accordance with 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 uses this option to safely place PHP's CGI executable outside of the web directory tree, and no one can bypass.security settings for htaccess. –with-fastcgi compiles PHP into a fastcgi application. –enable-Debug symbols are added at debug compile time. –with-layout=TYPE Sets the file layout after installation.  The TYPE can be PHP (default) or GNU. –with-pear=DIRInstall the PEAR inDIRDirectory (the default is prefix/lib/php). –without-pear does 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 contains the PHP stream of the experiment.  Do not use unless you are testing the source code! –with-zlib-dir=<DIR>;  Defines the installation path for the zlib. –with-aspell[=DIR] contains ASPELL support. –with-ccvs[=DIR] contains CCVS support. –with-cybercash[=DIR] contains cybercash support. DIRis the installation directory for the CyberCash MCK. –with-icap[=DIR] contains ICAP support. –with-ircg-config IRCG-the path to the 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 satellite (experimental nature). DIRis the home directory of the ORBit. –enable-trans-SID activates the transparent session ID propagation. –with-regex[=TYPE] Using the System Regex library (deprecated). –with-vpopmail[=DIR] contains vpopmail support. –with-tsrm-pthreads uses a POSIX thread (the default value). –enable-shared[=pkgs] Compiling shared libraries [default=Yes]. –enable-Static[=pkgs] compiling the static library [default=Yes]. –enable-fast-install[=pkgs] Optimized for quick installation [default=Yes]. –with-gnu-The LD assumes that the C compiler uses the GNU ld [default=No]. –disable-libtool-Lock avoids locking (may corrupt parallel compilation). –with-pic attempts to use only pic/non-pic Object [default= Useboth]. –enable-memory-Limit compile-time with memory limit support. –disable-url-fopen-wrapper is forbidden by URLfopenWrapper, the file cannot be accessed via HTTP or FTP. –enable-The versioning only outputs the required symbols.  See the INSTALL file for more information. –with-imsp[=DIR] contains IMSp support (DIRIt's IMSP.includeDirectories and LIBIMSP.A directories). For PHP 3 only! –with-mck[=DIR] contains CyberCash MCK support. DIRIs 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=DIRincludes DAV support via Apache's Mod_dav. DIRis the Mod_dav installation directory (only for Apache module versions!). ) Only for PHP 3! –enable-debugger compile into the remote debugging function. For PHP only3! –enable-versioning using the Solaris2.x and Linux provide the benefits of version control and scope of action. 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 setting PHPThe path where the. INI is located, which defaults to prefix/Lib. –enable-safe-mode activates Safe mode by default. –with-exec-dir[=DIR] Safe Mode only allows the execution of programs under this directory. Default is/usr/local/php/bin. –enable-magic-quotes activates the magic quotes by default. –disable-short-tags default prohibit shorthand PHP start tag<?. Server Options –with-aolserver=DIRspecifies the path of the installed Aolserver. –with-apxs[=FILE] Compile the shared Apache module. FILEis 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] Compile the Apache module. DIRis the highest level directory of the Apache source program. Default is/usr/local/Apache. –with-Mod_charset activates the pass-through table in the Mod_charset (Apache). –with-apxs2[=FILE] Compile the shared Apache2.0 modules.FILEis the path to the optional Apache APXS tool, which defaults to APXS. –with-fhttpd[=DIR] Compile the FHTTPD module. DIRis the source code path for FHTTPD, which defaults to/usr/local/src/fhttpd. –with-isapi=DIRcompile PHP as an ISAPI module for Zeus. –with-nsapi=DIRSpecifies the installed Netscape server path. –with-phttpd=DIRno information is currently being held. –with-pi3web=DIRcompile PHP as a module for Pi3web. –with-roxen=DIRcompile PHP into a Pike module. DIRis the root directory of the Roxen, usually/usr/local/roxen/server. –enable-roxen-Zts Compile the Roxen module, using the Zend Thread Safety. –with-servlet[=DIR] contains servlet support. DIRis the basic installation directory for JSDK. This SAPI requires that the Java extension be compiled into a sharedDL. –with-thttpd=Srcdir compiles PHP into a thttpd module. –with-tux=moduledir

Some of the Configure parameters when compiling PHP

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.