PHP compilation Options Description (1)

Source: Internet
Author: User
Tags config ini odbc mysql variables php debugger sybase sybase database

On the 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)



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.