Compiled on detail options, in addition to the above installation brief, you can add additional options at compile time.
Apache Module
Syntax:--with-apache=dir
Description: Use this option to allow PHP to use the Apache module mode, DIR string can be
/usr/local/apache or other directory to install Apache
Example:--with-apache=/var/lib/apache
FHTTPD Server Module
Syntax:--with-fhttpd=dir
Note: If you use the FTTPD server, you can use this directive to compile PHP. With the modular approach to FTTPD
The service, can have the good performance.
Adabas D Data Base
Syntax:--with-adabas=dir
Note: This option is required when the database system is Adabas D repositories. About Adabas D repositories of fine
section, you can refer to http://www.adabas.com.
Example:--WITH-ADABAS=/USR/LOCAL/ADABASD
DBase Data Sheet
Syntax:--with-dbase
Note: As long as this option, without other parameters or function library, PHP will let the system have access to dBase data
The function of the table.
Filepro Data Base
Syntax:--with-filepro
Note: You can read the Filepro database (read-only) without specifying a database path and other function libraries.
mSQL Data Base
Syntax:--with-msql=dir
Description: Provides access to the mSQL database. For more details please refer to mSQL's website
http://www.hughes.com.au.
Example:--with-msql=/usr/local/hughes
MySQL Data Base
Syntax:--with-mysql=dir
Description: Provides access to MySQL repositories. For more details please refer to the MySQL website
Http://www.tcx.se.
Example:--with-mysql=/usr/local/mysql
IODBC Data Base Device
Syntax:--with-iodbc=dir
Description: Provides an ODBC database device for accessing back-end repositories. For more details please refer to iODBC's web
Station http://www.iodbc.org.
Example:--WITH-IODBC=/USR/LOCAL/IODBC
OpenLink ODBC Data Base Appliance
Syntax:--with-openlink=dir
Note: Use the OpenLink ODBC Repository appliance to access backend repositories. For more details please refer to
OpenLink ODBC Web site http://www.openlinksw.com.
Example:--with-openlink=/usr/local/openlink
Oracle repositories
Syntax:--with-oracle=dir
Description: Use Oracle repositories. Oracle versions are to be in version 7.3. You can also in the PHP program
Use the environment variable oracle_home to specify the path to ORACLE. For more information about Oracle, please join
Test Oracle's website http://www.oracle.com.
Example:--with-oracle=/export/app/oracle/product/7.3.2
PostgreSQL Data Base
Syntax:--with-pgsql=dir
Description: Use the PostgreSQL database. For more information on PostgreSQL, please refer to PostgreSQL's
Website http://www.postgreSQL.org or Mirror station in Taiwan
http://postgresql.ccit.edu.tw.
Example:--with-pgsql=/usr/local/pgsql
Solid Data Base
Syntax:--with-solid=dir
Description: Use the Solid database. For more information on Solid, please refer to Solid's website
Http://www.solidtech.com.
Example:--with-solid=/usr/local/solid
Sybase Data Base
Syntax:--with-sybase=dir
Description: Use Sybase database. For more information on Sybase, please refer to Sybase's website
Http://www.sybase.com.
Example:--with-sybase=/home/sybase
SYBASE-CT Data Base
Syntax:--with-sybase-ct=dir
Description: Use the SYBASE-CT database.
Example:--with-sybase-ct=/home/sybase
Velocis Data Base
Syntax:--with-velocis=dir
Description: Use the VELOCIS database. For further information on the VELOCIS database, please refer to Raima Company
The website http://www.raima.com.
Example:--with-velocis=/usr/local/velocis
customizing ODBC repository Drivers
Syntax:--with-custom-odbc=dir
Description: Use a custom ODBC library of functions. Of course, when using this method, you should specify Custom_odbc_libs and
Cflags variables. For example, you might want to set the system environment when using Sybase SQL Anywhere on the QNX machine
Variables Cflags=-dodbc_qnx, Ldflags=-lunix and
Custom_odbc_libs= "-ldblib-lodbc" and to be set in PHP Plus
--with-custom-odbc=/usr/lib/sqlany50
Example:--WITH-CUSTOM-ODBC=/USR/LOCAL/ODBC
Do not use ODBC repository driver
Syntax:--DISABLE-UNIFIED-ODBC
Description: Use this option to make all ODBC repository drivers not work. This option does not specify a path, and
Options affected by this option
There are--with-iodbc 、--with-solid 、--with-adabas 、--With-velocis
and--WITH-CUSTOM-ODBC.
LDAP Directory Contract
Syntax:--with-ldap=dir
Note: To use directory contracts (Lightweight directory Access Protocol, LDAP) you must
To turn this option on. For details about LDAP, refer to the RFC1777 and RFC1778 of the RFC file.
Example:--with-ldap=/usr/local/ldap.
MCrypt Encoding Library of functions
Syntax:--with-mcrypt=dir
Note: When you have installed the MCrypt function library, you can add this option when compiling PHP so that the program can use the
decoding function.
Example:--with-mcrypt=/usr/local/include
Sys V Signal
Syntax:--enable-sysvsem
Note: To use the SYSV signal (semaphores) mechanism, turn this option on.
XML Support
Syntax:--with-xml
Description: Open this option to support the XML parsing library written by James Clark.
Maintenance Mode
Syntax:--enable-maintainer-mode
Note: This option is not normally open unless it is useful for PHP developers.
General Presentation Library
Syntax:--with-system-regex
Note: If you need additional general presentation features, you can add this option.
PHP configuration file
Syntax:--with-config-file-path=dir
Description: Use to specify the Php3.ini or Php4.ini path for PHP initialization.
Example:--with-config-file-path=/usr/local/lib
PHP Execution Path
Syntax:--with-exec-dir=dir
Note: Sometimes for system security considerations, you will specify in which directory the PHP program must be executed.
Example:--with-exec-dir=/usr/local/bin
Debug mode
Syntax:--enable-debug
Note: This option is generally not used unless it is useful to develop PHP programs. It can show an extra error
False message.
Safe Mode
Syntax:--enable-safe-mode
Description: The default value is open, can provide more protection for the system security.
Variable tracking
Syntax:--enable-track-vars
Description: Allow PHP to track Http_get_vars, Http_post_vars and Http_cookie_vars three
variables, which are generally open.
Automatically add characters
Syntax:--enable-magic-quotes
Description: Allows the program to automatically add a backslash when it is executed.
Turn on the wrong device
Syntax:--enable-debugger
Description: Open the built-in PHP debugger. At present, this function is still in the experimental stage, not yet mature.
Cancel path (discard path)
Syntax:--enable-discard-path
Description: Open this option, the user can not read through the browser. htaccess, etc. related to system security
File.
Mathematical functions of high precision
Syntax:--enable-bcmath
Description: Open a high precision function. This function library must be installed before this option is valid.
Forced CGI re-guide
Syntax:--enable-force-cgi-redirect
Example: If you use CGI VERSION mode to perform PHP, opening this option can increase security. such as making
User Read http://my.host/cgi-bin/php/secret/doc.html Encounter a better understanding of the PHP system's shocking
Customer-class users may have entered the following URL http://my.host/secret/doc.html to read related funds
Hearing If PHP and Apache are compiled together to make PHP a part of Apache, you don't need to join this
Options.
Do not use a short mark
Syntax:--disable-short-tags
Description: Set this option, the PHP program can not use the short;? .... ? > mark, make sure to use <?php
...... ? Long marks for >.
Introduction of remote Files
Syntax:--enable-url-includes
Description: Setting this option allows PHP programs to introduce (include) remote HTTP or FTP servers
's file.
Turn off grammar effects
Syntax:--DISABLE-SYNTAX-HL
Description: Use this option to turn off the color effect of the PHP syntax.
function library Path
Grammar: Cppflags=-idir and Ldflags=-ldir
Description: If PHP is in a secure or compiled function library in a particular path, you need to add this option, Ldflags
Represents the path to a function library, Cppflags represents the path to the header file.
Example: Ldflags=-l/my/lib/dir cppflags=-i/my/include/dir./configure
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.