完整的编译配置参数列表
注意: 这些只是在编译时的参数,如果你想改变运 行时的配置,请查看配置文件 php.ini 的内容.
下面是 PHP3 和 PHP 4 在类似 Unix 环境下编译时支持的脚本配置参数的完整列表. 值得注意的是:这些参数一些在 PHP 3 下可用, 一些在 PHP 4 下可用, 还有一些全可以用. 许多参数在 PHP 3 和 PHP 4 中有了不同的名字,但是完成相同的 功能. 这几个是互相交叉索引的,所以,如果你在让你的 PHP 3的配置参数工作时发现问题,检查一下是否名 字已经变了!.
Database 数据库
Ecommerce 商务
Graphics 图形
Miscellaneous (多样的)
Networking 网络运行
PHP Behaviour PHP 特性
Server 服务器
Text and language 文本和语言
XML
Database
数据库
--with-adabas[=DIR]
PHP 3, PHP 4: 包含 Adabas D 支持. DIR 是 Adabas 数据库安装的路径,默认 是 /usr/local.
Adabas home page
--enable-dba=shared
PHP 3: 没有这个参数
PHP 4: 建立 DBA 作为共享模块
--enable-dbase
PHP 3: 没有; 用 --with-dbase 代替.
PHP 4: 允许包含 dbase 库. 不再需要外部库.
--with-dbase
PHP 3: 包含 dbase 库. 不再需要外部库.
PHP 4: 没有,用 --enable-dbase 代替.
--with-db2[=DIR]
PHP 3, PHP 4: 包含 Berkeley DB2 支持
--with-db3[=DIR]
PHP 3: 没有
PHP 4: 包含 Berkeley DB3 支持
--with-dbm[=DIR]
PHP 3, PHP 4: 包含 DBM 支持
--with-dbmaker[=DIR]
PHP 3: 没有
PHP 4: 包含 DBMaker 支持. DIR 是 DBMaker 数据库安装路径, 默认是最新的 DBMaker 的安装路径 (例如 /home/dbmaker/3.6).
--with-empress[=DIR]
PHP 3, PHP 4: 包含 Empress 支持. DIR 是 Empress 数据库安装路径,默认是 $EMPRESSPATH
--enable-filepro
PHP 3: 没有,用 --with-filepro 代替.
PHP 4: 允许只读的 filePro 支持. 不再需要外部库 .
--with-filepro
PHP 3: 允许只读的 filePro 支持. 不再需 要外部库.
PHP 4: 没有,用 --enable-filepro 代替.
--with-gdbm[=DIR]
PHP 3, PHP 4: 包含 GDBM 支持
--with-hyperwave
PHP 3, PHP 4: 包含 Hyperwave 支持
--with-ibm-db2[=DIR]
PHP 3, PHP 4: 包含 IBM DB2 支持. DIR 是 DB2 数据库安装路径, 默认是 /home/db2inst1/sqllib.
IBM DB2 home page
--with-informix[=DIR]
PHP 3, PHP 4: 包含 Informix 支持. DIR 是 Informix 数据库安装路径, 默认 是 空.
--with-ingres[=DIR]
PHP 3: 没有
PHP 4: 包含 Ingres II 支持. DIR 是 Ingres 数据库路径 (default /II/ingres)
--with-interbase[=DIR]
PHP 3, PHP 4: 包含 InterBase 支持. DIR 是 InterBase 数据库安装路径, 默 认是 /usr/interbase.
Interbase functions
Interbase home page
--with-ldap[=DIR]
PHP 3: 包含 LDAP 支持. DIR 是 LDAP 数据库安装路径. 默认是 /usr and /usr/local
PHP 4: 包含 LDAP 支持. DIR 是 LDAP 数据库安装路径.
这provides LDAP (Lightweight Directory Access Protocol 支持). 参 数是 LDAP 数据库安装路径, 默认是 /usr/local/ldap.
更多关于 LDAP 的信息可以查找 RFC1777 and RFC1778.
--with-msql[=DIR]
PHP 3, PHP 4: 允许 mSQL 支持. 参数 mSQL 安装路径 and 默认是 /usr/local/Hughes. 这是默认的 mSQL 2.0 的路径 。自动检测 PHP支持的 1.0和 2.0 的mSQL 版本, 但是如果你用 MSQL 1.0 编译 PHP , 你只能使用 mSQL 1.0 数据库
查看configuration file里的 mSQL Configuration 指示 mSQL home page
--with-mysql[=DIR]
PHP 3: 包含 MySQL 支持. DIR 是 MySQL 数据库安装路径, 默认是搜索搜索路 径,查找 MySQL 文件.
PHP 4: 包含 MySQL 支持. DIR 是 MySQL 数据库路径. 如果不指, 使用内置的 MySQL. 这个参数默认是打开的.
See also MySQL Configuration Directives in the configuration file.
MySQL home page
--with-ndbm[=DIR]
PHP 3, PHP 4: 包含 NDBM 支持
--with-oci8[=DIR]
PHP 3: 没有
PHP 4: 包含 Oracle-oci8 支持. 默认 DIR 是 ORACLE_HOME.
--with-oracle[=DIR]
PHP 3: 包含 Oracle database 支持. DIR 是 Oracle 的路径, 默认是 $ORACLE_HOME.
PHP 4: 包含 Oracle-oci7 支持. 默认 DIR 是 ORACLE_HOME.
包含 Oracle 支持. 已经测试过至少可以在 Oracle 7.0 到 7.3 可以正常工作. 参数是 ORACLE_主路径. 如果你的 Oracle 环境 已经设置,你可以不指定这个参数.
Oracle home page
--with-pgsql[=DIR]
PHP 3: 包含 PostgresSQL 支持. DIR 是 PostgresSQL 数据库安装路径, 默认 是 /usr/local/pgsql.
PHP 4: 包含 PostgreSQL 支持. DIR 是 PostgreSQL 数据库安装路径, 默认是 /usr/local/pgsql. 设置 DIR 为共享来作为一个 dl, 或者共享的,指定 DIR 为 dl 同时指定了 DIR.
See also Postgres Configuration Directives in the configuration file.
PostgreSQL home page
--with-solid[=DIR]
PHP 3, PHP 4: 包含 Solid 支持. DIR 是 Solid 数据库安装路径, 默认是 /usr/local/solid
Solid home page
--with-sybase-ct[=DIR]
PHP 3, PHP 4: 包含 Sybase-CT 支持. DIR 是 Sybase 主路径, 默认是 /home/sybase.
See also Sybase-CT Configuration Directives in the configuration file.
--with-sybase[=DIR]
PHP 3, PHP 4: 包含 Sybase-DB 支持. DIR 是 Sybase 主路径, 默认是 /home/sybase.
See also Sybase Configuration Directives in the configuration file.
Sybase home page
--with-openlink[=DIR]
PHP 3, PHP 4: 包含 OpenLink ODBC 支持. DIR 是 OpenLink 数据库安装路径, 默认是 /usr/local/openlink.
OpenLink Software's home page
--with-iodbc[=DIR]
PHP 3, PHP 4: 包含 iODBC 支持. DIR 是 iODBC 数据库安装路径, 默认是 /usr/local.
这feature was first developed for iODBC Driver Manager, a freely redistributable ODBC driver manager runs under many flavors of UNIX.
FreeODBC home page or iODBC home page
--with-custom-odbc[=DIR]
PHP 3, PHP 4: 包含s 支持 for an arbitrary custom ODBC library. 参数是 数据库路径 and 默认是 /usr/local.
这option implies that you have defined CUSTOM_ODBC_LIBS when you run the configure script. You also must have a valid odbc.h header somewhere in your 包含 path. If you don't have one, create it and 包含 your specific header from there. Your header may also require some extra definitions, particularly when it is multiplatform. Define them in CFLAGS.
For example, you can use Sybase SQL Anywhere on QNX as following: CFLAGS=-DODBC_QNX LDFLAGS=-lunix CUSTOM_ODBC_LIBS="-ldblib -lodbc" ./configure --with-custom-odbc=/usr/lib/sqlany50
--disable-unified-odbc
PHP 3: Disable unified ODBC 支持. Only applicable if iODBC, Adabas, Solid, Velocis or a custom ODBC interface is enabled.
PHP 4: 没有
The Unified ODBC module, is a common interface to all the databases with ODBC-based interfaces, such as Solid, IBM DB2 and Adabas D. It also works for normal ODBC libraries. Has been tested with iODBC, Solid, Adabas D, IBM DB2 and Sybase SQL Anywhere. Requires that one (and only one) of these modules or the Velocis module is enabled, or a custom ODBC library specified. 这option is only applicable if one of the following options is used: --with-iodbc, --with-solid, --with-ibm-db2, --with-adabas, --with-velocis, or --with-custom-odbc.
See also Unified ODBC Configuration Directives in the configuration file.
--with-unixODBC[=DIR]
PHP 3: 没有
PHP 4: 包含 unixODBC 支持. DIR 是 unixODBC 数据库安装路径, 默认是 /usr/local.
--with-velocis[=DIR]
PHP 3, PHP 4: 包含 Velocis 支持. DIR 是 Velocis 数据库安装路径, 默认是 /usr/local/velocis.
Velocis home page
Ecommerce
--with-ccvs[=DIR]
PHP 3: 没有
PHP 4: Compile CCVS 支持 into PHP4. Please specify your CCVS 数据库安装路径 as DIR.
--with-mck[=DIR]
PHP 3: 包含 Cybercash MCK 支持. DIR 是 cybercash mck build directory, 默认是 /usr/src/mck-3.2.0.3-linux. For help, look in extra/cyberlib.
PHP 4: Option not available; use --with-cybercash instead.
--with-cybercash[=DIR]
PHP 3: Option not available; use --with-mck instead.
PHP 4: 包 含 CyberCash 支持. DIR 是 CyberCash MCK 安装路径.
--with-pfpro[=DIR]
PHP 3: 没有
PHP 4: 包含 Verisign Payflow Pro 支持
Graphics
--enable-freetype-4bit-antialias-hack
PHP 3: 没有
PHP 4: 包含 支持 for FreeType2 (experimental).
--with-gd[=DIR]
PHP 3: 包含 GD 支持 (DIR is GD's install dir).
PHP 4: 包含 GD 支持 (DIR is GD's install dir). Set DIR to shared to build as a dl, or shared,DIR to build as a dl and still specify DIR.
--without-gd
PHP 3, PHP 4: Disable GD 支持 .
--with-imagick[=DIR]
PHP 3: 包含 ImageMagick 支持. DIR 是 安装路径, and if left out, PHP will try to find it on its own. [experimental]
PHP 4: 没有
--with-jpeg-dir[=DIR]
PHP 3: jpeg dir for pdflib 2.0
PHP 4: jpeg dir for pdflib 3.x
--with-png-dir[=DIR]
PHP 3: 没有
PHP 4: png dir for pdflib 3.x
--enable-t1lib
PHP 3: Enable t1lib 支持 .
PHP 4: Option not available; use --with-t1lib instead.
--with-t1lib[=DIR]
PHP 3: Option not available; use --enable-t1lib instead.
PHP 4: 包含 T1lib 支持.
--with-tiff-dir[=DIR]
PHP 3: tiff dir for pdflib 2.0
PHP 4: tiff dir for pdflib 3.x
--with-ttf[=DIR]
PHP 3, PHP 4: 包含 FreeType 支持
--with-xpm-dir[=DIR]
PHP 3: 没有
PHP 4: xpm dir for gd-1.8+
Miscellaneous
These are being classified over time, where appropriate.
--disable-bcmath
PHP 3: Compile without BC arbitrary precision math functions. These functions allow you to operate with numbers outside of the ranges allowed by regular integers and floats; see BCMath Arbitrary Precision Mathematics Functions for more information.
PHP 4: Option not available; bcmath is not compiled in by default. Use --enable-bcmath to compile it in.
--disable-display-source
PHP 3: Compile without displaying source 支持
PHP 4: 没有
--disable-libtool-lock
PHP 3: 没有
PHP 4: avoid locking (might break parallel builds)
--disable-pear
PHP 3: 没有
PHP 4: Do not install PEAR
--disable-pic
PHP 3: 没有
PHP 4: Disable PIC for shared objects
--disable-posix
PHP 3: 没有; use --without-posix instead.
PHP 4: Disable POSIX-like functions
--disable-rpath
PHP 3: 没有
PHP 4: Disable passing additional runtime library search paths
--disable-session
PHP 3: 没有
PHP 4: Disable session 支持
--enable-bcmath
PHP 3: 没有; bcmath is compiled in by default. Use --disable-bcmath to disable it.
PHP 4: Compile with bc style precision math functions. Read README-BCMATH for instructions on how to get 这module installed. These functions allow you to operate with numbers outside of the ranges allowed by regular integers and floats; see BCMath Arbitrary Precision Mathematics Functions for more information.
--enable-c9x-inline
PHP 3: 没有
PHP 4: Enable C9x-inline semantics
--enable-calendar
PHP 3: 没有
PHP 4: Enable 支持 for calendar conversion
--enable-debug
PHP 3, PHP 4: Compile with debugging symbols.
--enable-debugger
PHP 3: Compile with remote debugging functions
PHP 4: 没有
--enable-discard-path
PHP 3, PHP 4: If 这is enabled, the PHP CGI binary can safely be placed outside of the web tree and people will not be able to circumvent .htaccess security.
--enable-dmalloc
PHP 3, PHP 4: Enable dmalloc
--enable-exif
PHP 3: 没有
PHP 4: Enable exif 支持
--enable-experimental-zts
PHP 3: 没有
PHP 4: 这will most likely break your build
--enable-fast-install[=PKGS]
PHP 3: 没有
PHP 4: optimize for fast installation [default=yes]
--enable-force-cgi-redirect
PHP 3, PHP 4: Enable the security check for internal server redirects. You should use 这if you are running the CGI version with Apache.
--enable-inline-optimization
PHP 3: 没有
PHP 4: If you have much memory and are using gcc, you might try this.
--enable-libgcc
PHP 3: 没有
PHP 4: Enable explicitly linking against libgcc
--enable-maintainer-mode
PHP 3, PHP 4: enable make rules and dependencies not useful (and sometimes confusing) to the casual installer
--enable-memory-limit
PHP 3, PHP 4: Compile with memory limit 支持.
--enable-safe-mode
PHP 3, PHP 4: Enable safe mode by default.
--enable-satellite
PHP 3: 没有
PHP 4: Enable CORBA 支持 via Satellite (Requires ORBit)
--enable-shared[=PKGS]
PHP 3: 没有
PHP 4: build shared libraries [default=yes]
--enable-sigchild
PHP 3, PHP 4: Enable PHP's own SIGCHLD handler.
--enable-static[=PKGS]
PHP 3: 没有
PHP 4: build static libraries [default=yes]
--enable-sysvsem
PHP 3, PHP 4: Enable System V semaphore 支持.
--enable-sysvshm
PHP 3, PHP 4: Enable the System V shared memory 支持
--enable-trans-sid
PHP 3: 没有
PHP 4: Enable transparent session id propagation
--with-cdb[=DIR]
PHP 3, PHP 4: 包含 CDB 支持
--with-config-file-path=PATH
PHP 3: Sets the path in to look for php3.ini. 默认是 /usr/local/lib
PHP 4: Sets the path in to look for php.ini. 默认是 /usr/local/lib
--with-cpdflib[=DIR]
PHP 3: 包含 ClibPDF 支 持. DIR 是 ClibPDF 安装路径, 默认是 /usr/local.
PHP 4: 包含 cpdflib 支持 (requires cpdflib >= 2). DIR 是 cpdfllib 安装路径, 默认是 /usr.
--with-esoob[=DIR]
PHP 3: 没有
PHP 4: 包含 Easysoft OOB 支持. DIR 是 OOB 数据库安装路径, 默认是 /usr/local/easysoft/oob/client.
--with-exec-dir[=DIR]
PHP 3, PHP 4: Only allow executables in DIR when in safe mode 默认是 /usr/local/php/bin
--with-fdftk[=DIR]
PHP 3, PHP 4: 包含 fdftk 支持. DIR 是 fdftk 安装路径, 默认是 /usr/local.
--with-gnu-ld
PHP 3: 没有
PHP 4: assume the C compiler uses GNU ld [default=no]
--with-icap[=DIR]
PHP 3: 没有
PHP 4: 包含 ICAP 支持.
--with-imap[=DIR]
PHP 3, PHP 4: 包含 IMAP 支持. DIR 是 IMAP 包含 and c-client.a directory.
--with-imsp[=DIR]
PHP 3: 包含 IMSP 支持 (DIR is IMSP's 包含 dir and libimsp.a dir).
PHP 4: 没有
--with-java[=DIR]
PHP 3: 没有
PHP 4: 包含 Java 支持. DIR 是 数据库安装路径 for the JDK. 这 extension can only be built as a shared dl.
--with-kerberos[=DIR]
PHP 3: 没有
PHP 4: 包含 Kerberos 支持 in IMAP.
--with-mcal[=DIR]
PHP 3, PHP 4: 包含 MCAL 支持.
--with-mcrypt[=DIR]
PHP 3, PHP 4: 包含 mcrypt 支持. DIR 是 mcrypt 安装路径.
--with-mhash[=DIR]
PHP 3, PHP 4: 包含 mhash 支持. DIR 是 mhash 安装路径.
--with-mm[=DIR]
PHP 3: 没有
PHP 4: 包含 mm 支持 for session storage
--with-mod_charset
PHP 3, PHP 4: Enable transfer tables for mod_charset (Rus Apache).
--with-pdflib[=DIR]
PHP 3: 包含 pdflib 支持 (tested with 0.6 and 2.0). DIR 是 pdflib 安装路径, 默认是 /usr/local.
PHP 4: 包含 pdflib 3.x 支持. DIR 是 pdflib 安装路径, 默认是 /usr/local.
--with-readline[=DIR]
PHP 3: 没有
PHP 4: 包含 readline 支持. DIR 是 readline 安装路径.
--with-regex=TYPE
PHP 3: 没有
PHP 4: regex library type: system, apache, php
--with-servlet[=DIR]
PHP 3: 没有
PHP 4: 包含 servlet 支持. DIR 是 数据库安装路径 for the JSDK. 这SAPI requires that the Java extension be built as a shared dl.
--with-swf[=DIR]
PHP 3: 没有
PHP 4: 包含 swf 支持
--with-system-regex
PHP 3: Do not use the bundled regex library
PHP 4: (deprecated) Use system regex library
--with-tsrm-pth[=pth-config]
PHP 3: 没有
PHP 4: Use GNU Pth.
--with-tsrm-pthreads
PHP 3: 没有
PHP 4: Use POSIX threads (default)
--with-x
PHP 3: use the X Window System
PHP 4: 没有
--with-zlib-dir[=DIR]
PHP 3: zlib dir for pdflib 2.0 or 包含 zlib 支持
PHP 4: zlib dir for pdflib 3.x or 包含 zlib 支持
--with-zlib[=DIR]
PHP 3, PHP 4: 包含 zlib 支持 (requires zlib >= 1.0.9). DIR 是 zlib 安装路径, 默认是 /usr.
--without-pcre-regex
PHP 3: Don't 包含 Perl Compatible Regular Expressions 支持
PHP 4: Do not 包含 Perl Compatible Regular Expressions 支持. Use --with-pcre-regex=DIR to specify DIR where PCRE's 包含 and library files are located, if not using bundled library.
--without-posix
PHP 3: Don't 包含 POSIX functions
PHP 4: 没有; use --disable-posix instead.
Networking
--with-curl[=DIR]
PHP 3: 没有
PHP 4: 包含 CURL 支持
--enable-ftp
PHP 3: Option not available; use --with-ftp instead.
PHP 4: Enable FTP 支 持
--with-ftp
PHP 3: 包含 FTP 支持.
PHP 4: Option not available; use --enable-ftp instead
--disable-url-fopen-wrapper
PHP 3, PHP 4: Disable the URL-aware fopen wrapper that allows accessing files via http or ftp.
--with-mod-dav=DIR
PHP 3, PHP 4: 包含 DAV 支持 through Apache's mod_dav, DIR is mod_dav's installation directory (Apache module version only!)
--with-openssl[=DIR]
PHP 3, PHP 4: 包含 OpenSSL 支持 in SNMP.
--with-snmp[=DIR]
PHP 3, PHP 4: 包含 SNMP 支持. DIR 是 SNMP 数据库安装路径, 默认是 searching through a number of common locations for the snmp install. Set DIR to shared to build as a dl, or shared,DIR to build as a dl and still specify DIR.
--enable-ucd-snmp-hack
PHP 3, PHP 4: Enable UCD SNMP hack
--enable-sockets
PHP 3: 没有
PHP 4: Enable sockets 支持
--with-yaz[=DIR]
PHP 3: 没有
PHP 4: 包含 YAZ 支持 (ANSI/NISO Z39.50). DIR 是 YAZ bin 安装路径
--enable-yp
PHP 3: Option not available; use --with-yp instead.
PHP 4: 包含 YP 支持
--with-yp
PHP 3: 包含 YP 支持
PHP 4: Option not available; use --enable-yp instead.
PHP Behaviour
--enable-magic-quotes
PHP 3, PHP 4: Enable magic quotes by default.
--disable-short-tags
PHP 3, PHP 4: Disable the short-form <? start tag by default.
--enable-track-vars
PHP 3: Enable GET/POST/Cookie track variables by default.
PHP 4: 没有; as of PHP 4.0.2, track_vars is always on.
Server
--with-aolserver-src=DIR
PHP 3: 没有
PHP 4: 指定源代码的路径 AOLserver
--with-aolserver=DIR
PHP 3: 没有
PHP 4: Specify path to the installed AOLserver
--with-apache[=DIR]
PHP 3, PHP 4: Build Apache module. DIR 是 top-level Apache build directory, 默认是 /usr/local/etc/httpd.
--with-apxs[=FILE]
PHP 3, PHP 4: Build shared Apache module. FILE 是 optional pathname to the Apache apxs tool; 默认是 apxs.
--enable-versioning
PHP 3: Take advantage of versioning and scoping Provided by Solaris 2.x and Linux
PHP 4: Export only required symbols. See INSTALL for more information
--with-fhttpd[=DIR]
PHP 3, PHP 4: Build fhttpd module. DIR 是 fhttpd sources directory, 默认是 /usr/local/src/fhttpd.
--with-nsapi=DIR
PHP 3: 没有
PHP 4: Specify path to the installed Netscape
--with-phttpd=DIR
PHP 3: 没有
PHP 4:
--with-pi3web=DIR
PHP 3: 没有
PHP 4: Build PHP as a module for use with Pi3Web.
--with-roxen=DIR
PHP 3: 没有
PHP 4: Build PHP as a Pike module. DIR 是 base Roxen directory, normally /usr/local/roxen/server.
--enable-roxen-zts
PHP 3: 没有
PHP 4: Build the Roxen module using Zend Thread Safety.
--with-thttpd=SRCDIR
PHP 3: 没有
PHP 4:
--with-zeus=DIR
PHP 3: 没有
PHP 4: Build PHP as an ISAPI module for use with Zeus.
Text and language
--with-aspell[=DIR]
PHP 3, PHP 4: 包含 ASPELL 支持.
--with-gettext[=DIR]
PHP 3, PHP 4: 包含 GNU gettext 支持. DIR 是 gettext 安装路径, 默认是 /usr/local
--with-pspell[=DIR]
PHP 3: 没有
PHP 4: 包含 PSPELL 支持.
--with-recode[=DIR]
PHP 3: 包含 GNU recode 支持.
PHP 4: 包含 recode 支持. DIR 是 recode 安装路径.
XML
--with-dom[=DIR]
PHP 3: 没有
PHP 4: 包含 DOM 支持 (requires libxml >= 2.0). DIR 是 libxml 安装路径, 默认是 /usr
--enable-sablot-errors-descriptive
PHP 3: 没有
PHP 4: Enable Descriptive errors
--with-sablot[=DIR]
PHP 3: 没有
PHP 4: 包含 Sablotron 支持
--enable-wddx
PHP 3: 没有
PHP 4: Enable WDDX 支持
--disable-xml
PHP 3: 没有; XML functionality is not built in by default. Use --with-xml to turn it on.
PHP 4: Disable XML 支 持 using bundled expat lib
--with-xml
PHP 3: 包含 XML 支持
PHP 4: Option not available; XML 支持 is built in by default. Use --disable-xml to turn it off.
注意: 这些只是在编译时的参数,如果你想改变运 行时的配置,请查看配置文件 php.ini 的内容.
下面是 PHP3 和 PHP 4 在类似 Unix 环境下编译时支持的脚本配置参数的完整列表. 值得注意的是:这些参数一些在 PHP 3 下可用, 一些在 PHP 4 下可用, 还有一些全可以用. 许多参数在 PHP 3 和 PHP 4 中有了不同的名字,但是完成相同的 功能. 这几个是互相交叉索引的,所以,如果你在让你的 PHP 3的配置参数工作时发现问题,检查一下是否名 字已经变了!.
Database 数据库
Ecommerce 商务
Graphics 图形
Miscellaneous (多样的)
Networking 网络运行
PHP Behaviour PHP 特性
Server 服务器
Text and language 文本和语言
XML
Database
数据库
--with-adabas[=DIR]
PHP 3, PHP 4: 包含 Adabas D 支持. DIR 是 Adabas 数据库安装的路径,默认 是 /usr/local.
Adabas home page
--enable-dba=shared
PHP 3: 没有这个参数
PHP 4: 建立 DBA 作为共享模块
--enable-dbase
PHP 3: 没有; 用 --with-dbase 代替.
PHP 4: 允许包含 dbase 库. 不再需要外部库.
--with-dbase
PHP 3: 包含 dbase 库. 不再需要外部库.
PHP 4: 没有,用 --enable-dbase 代替.
--with-db2[=DIR]
PHP 3, PHP 4: 包含 Berkeley DB2 支持
--with-db3[=DIR]
PHP 3: 没有
PHP 4: 包含 Berkeley DB3 支持
--with-dbm[=DIR]
PHP 3, PHP 4: 包含 DBM 支持
--with-dbmaker[=DIR]
PHP 3: 没有
PHP 4: 包含 DBMaker 支持. DIR 是 DBMaker 数据库安装路径, 默认是最新的 DBMaker 的安装路径 (例如 /home/dbmaker/3.6).
--with-empress[=DIR]
PHP 3, PHP 4: 包含 Empress 支持. DIR 是 Empress 数据库安装路径,默认是 $EMPRESSPATH
--enable-filepro
PHP 3: 没有,用 --with-filepro 代替.
PHP 4: 允许只读的 filePro 支持. 不再需要外部库 .
--with-filepro
PHP 3: 允许只读的 filePro 支持. 不再需 要外部库.
PHP 4: 没有,用 --enable-filepro 代替.
--with-gdbm[=DIR]
PHP 3, PHP 4: 包含 GDBM 支持
--with-hyperwave
PHP 3, PHP 4: 包含 Hyperwave 支持
--with-ibm-db2[=DIR]
PHP 3, PHP 4: 包含 IBM DB2 支持. DIR 是 DB2 数据库安装路径, 默认是 /home/db2inst1/sqllib.
IBM DB2 home page
--with-informix[=DIR]
PHP 3, PHP 4: 包含 Informix 支持. DIR 是 Informix 数据库安装路径, 默认 是 空.
--with-ingres[=DIR]
PHP 3: 没有
PHP 4: 包含 Ingres II 支持. DIR 是 Ingres 数据库路径 (default /II/ingres)
--with-interbase[=DIR]
PHP 3, PHP 4: 包含 InterBase 支持. DIR 是 InterBase 数据库安装路径, 默 认是 /usr/interbase.
Interbase functions
Interbase home page
--with-ldap[=DIR]
PHP 3: 包含 LDAP 支持. DIR 是 LDAP 数据库安装路径. 默认是 /usr and /usr/local
PHP 4: 包含 LDAP 支持. DIR 是 LDAP 数据库安装路径.
这provides LDAP (Lightweight Directory Access Protocol 支持). 参 数是 LDAP 数据库安装路径, 默认是 /usr/local/ldap.
更多关于 LDAP 的信息可以查找 RFC1777 and RFC1778.
--with-msql[=DIR]
PHP 3, PHP 4: 允许 mSQL 支持. 参数 mSQL 安装路径 and 默认是 /usr/local/Hughes. 这是默认的 mSQL 2.0 的路径 。自动检测 PHP支持的 1.0和 2.0 的mSQL 版本, 但是如果你用 MSQL 1.0 编译 PHP , 你只能使用 mSQL 1.0 数据库
查看configuration file里的 mSQL Configuration 指示 mSQL home page
--with-mysql[=DIR]
PHP 3: 包含 MySQL 支持. DIR 是 MySQL 数据库安装路径, 默认是搜索搜索路 径,查找 MySQL 文件.
PHP 4: 包含 MySQL 支持. DIR 是 MySQL 数据库路径. 如果不指, 使用内置的 MySQL. 这个参数默认是打开的.
See also MySQL Configuration Directives in the configuration file.
MySQL home page
--with-ndbm[=DIR]
PHP 3, PHP 4: 包含 NDBM 支持
--with-oci8[=DIR]
PHP 3: 没有
PHP 4: 包含 Oracle-oci8 支持. 默认 DIR 是 ORACLE_HOME.
--with-oracle[=DIR]
PHP 3: 包含 Oracle database 支持. DIR 是 Oracle 的路径, 默认是 $ORACLE_HOME.
PHP 4: 包含 Oracle-oci7 支持. 默认 DIR 是 ORACLE_HOME.
包含 Oracle 支持. 已经测试过至少可以在 Oracle 7.0 到 7.3 可以正常工作. 参数是 ORACLE_主路径. 如果你的 Oracle 环境 已经设置,你可以不指定这个参数.
Oracle home page
--with-pgsql[=DIR]
PHP 3: 包含 PostgresSQL 支持. DIR 是 PostgresSQL 数据库安装路径, 默认 是 /usr/local/pgsql.
PHP 4: 包含 PostgreSQL 支持. DIR 是 PostgreSQL 数据库安装路径, 默认是 /usr/local/pgsql. 设置 DIR 为共享来作为一个 dl, 或者共享的,指定 DIR 为 dl 同时指定了 DIR.
See also Postgres Configuration Directives in the configuration file.
PostgreSQL home page
--with-solid[=DIR]
PHP 3, PHP 4: 包含 Solid 支持. DIR 是 Solid 数据库安装路径, 默认是 /usr/local/solid
Solid home page
--with-sybase-ct[=DIR]
PHP 3, PHP 4: 包含 Sybase-CT 支持. DIR 是 Sybase 主路径, 默认是 /home/sybase.
See also Sybase-CT Configuration Directives in the configuration file.
--with-sybase[=DIR]
PHP 3, PHP 4: 包含 Sybase-DB 支持. DIR 是 Sybase 主路径, 默认是 /home/sybase.
See also Sybase Configuration Directives in the configuration file.
Sybase home page
--with-openlink[=DIR]
PHP 3, PHP 4: 包含 OpenLink ODBC 支持. DIR 是 OpenLink 数据库安装路径, 默认是 /usr/local/openlink.
OpenLink Software's home page
--with-iodbc[=DIR]
PHP 3, PHP 4: 包含 iODBC 支持. DIR 是 iODBC 数据库安装路径, 默认是 /usr/local.
这feature was first developed for iODBC Driver Manager, a freely redistributable ODBC driver manager runs under many flavors of UNIX.
FreeODBC home page or iODBC home page
--with-custom-odbc[=DIR]
PHP 3, PHP 4: 包含s 支持 for an arbitrary custom ODBC library. 参数是 数据库路径 and 默认是 /usr/local.
这option implies that you have defined CUSTOM_ODBC_LIBS when you run the configure script. You also must have a valid odbc.h header somewhere in your 包含 path. If you don't have one, create it and 包含 your specific header from there. Your header may also require some extra definitions, particularly when it is multiplatform. Define them in CFLAGS.
For example, you can use Sybase SQL Anywhere on QNX as following: CFLAGS=-DODBC_QNX LDFLAGS=-lunix CUSTOM_ODBC_LIBS="-ldblib -lodbc" ./configure --with-custom-odbc=/usr/lib/sqlany50
--disable-unified-odbc
PHP 3: Disable unified ODBC 支持. Only applicable if iODBC, Adabas, Solid, Velocis or a custom ODBC interface is enabled.
PHP 4: 没有
The Unified ODBC module, is a common interface to all the databases with ODBC-based interfaces, such as Solid, IBM DB2 and Adabas D. It also works for normal ODBC libraries. Has been tested with iODBC, Solid, Adabas D, IBM DB2 and Sybase SQL Anywhere. Requires that one (and only one) of these modules or the Velocis module is enabled, or a custom ODBC library specified. 这option is only applicable if one of the following options is used: --with-iodbc, --with-solid, --with-ibm-db2, --with-adabas, --with-velocis, or --with-custom-odbc.
See also Unified ODBC Configuration Directives in the configuration file.
--with-unixODBC[=DIR]
PHP 3: 没有
PHP 4: 包含 unixODBC 支持. DIR 是 unixODBC 数据库安装路径, 默认是 /usr/local.
--with-velocis[=DIR]
PHP 3, PHP 4: 包含 Velocis 支持. DIR 是 Velocis 数据库安装路径, 默认是 /usr/local/velocis.
Velocis home page
Ecommerce
--with-ccvs[=DIR]
PHP 3: 没有
PHP 4: Compile CCVS 支持 into PHP4. Please specify your CCVS 数据库安装路径 as DIR.
--with-mck[=DIR]
PHP 3: 包含 Cybercash MCK 支持. DIR 是 cybercash mck build directory, 默认是 /usr/src/mck-3.2.0.3-linux. For help, look in extra/cyberlib.
PHP 4: Option not available; use --with-cybercash instead.
--with-cybercash[=DIR]
PHP 3: Option not available; use --with-mck instead.
PHP 4: 包 含 CyberCash 支持. DIR 是 CyberCash MCK 安装路径.
--with-pfpro[=DIR]
PHP 3: 没有
PHP 4: 包含 Verisign Payflow Pro 支持
Graphics
--enable-freetype-4bit-antialias-hack
PHP 3: 没有
PHP 4: 包含 支持 for FreeType2 (experimental).
--with-gd[=DIR]
PHP 3: 包含 GD 支持 (DIR is GD's install dir).
PHP 4: 包含 GD 支持 (DIR is GD's install dir). Set DIR to shared to build as a dl, or shared,DIR to build as a dl and still specify DIR.
--without-gd
PHP 3, PHP 4: Disable GD 支持 .
--with-imagick[=DIR]
PHP 3: 包含 ImageMagick 支持. DIR 是 安装路径, and if left out, PHP will try to find it on its own. [experimental]
PHP 4: 没有
--with-jpeg-dir[=DIR]
PHP 3: jpeg dir for pdflib 2.0
PHP 4: jpeg dir for pdflib 3.x
--with-png-dir[=DIR]
PHP 3: 没有
PHP 4: png dir for pdflib 3.x
--enable-t1lib
PHP 3: Enable t1lib 支持 .
PHP 4: Option not available; use --with-t1lib instead.
--with-t1lib[=DIR]
PHP 3: Option not available; use --enable-t1lib instead.
PHP 4: 包含 T1lib 支持.
--with-tiff-dir[=DIR]
PHP 3: tiff dir for pdflib 2.0
PHP 4: tiff dir for pdflib 3.x
--with-ttf[=DIR]
PHP 3, PHP 4: 包含 FreeType 支持
--with-xpm-dir[=DIR]
PHP 3: 没有
PHP 4: xpm dir for gd-1.8+
Miscellaneous
These are being classified over time, where appropriate.
--disable-bcmath
PHP 3: Compile without BC arbitrary precision math functions. These functions allow you to operate with numbers outside of the ranges allowed by regular integers and floats; see BCMath Arbitrary Precision Mathematics Functions for more information.
PHP 4: Option not available; bcmath is not compiled in by default. Use --enable-bcmath to compile it in.
--disable-display-source
PHP 3: Compile without displaying source 支持
PHP 4: 没有
--disable-libtool-lock
PHP 3: 没有
PHP 4: avoid locking (might break parallel builds)
--disable-pear
PHP 3: 没有
PHP 4: Do not install PEAR
--disable-pic
PHP 3: 没有
PHP 4: Disable PIC for shared objects
--disable-posix
PHP 3: 没有; use --without-posix instead.
PHP 4: Disable POSIX-like functions
--disable-rpath
PHP 3: 没有
PHP 4: Disable passing additional runtime library search paths
--disable-session
PHP 3: 没有
PHP 4: Disable session 支持
--enable-bcmath
PHP 3: 没有; bcmath is compiled in by default. Use --disable-bcmath to disable it.
PHP 4: Compile with bc style precision math functions. Read README-BCMATH for instructions on how to get 这module installed. These functions allow you to operate with numbers outside of the ranges allowed by regular integers and floats; see BCMath Arbitrary Precision Mathematics Functions for more information.
--enable-c9x-inline
PHP 3: 没有
PHP 4: Enable C9x-inline semantics
--enable-calendar
PHP 3: 没有
PHP 4: Enable 支持 for calendar conversion
--enable-debug
PHP 3, PHP 4: Compile with debugging symbols.
--enable-debugger
PHP 3: Compile with remote debugging functions
PHP 4: 没有
--enable-discard-path
PHP 3, PHP 4: If 这is enabled, the PHP CGI binary can safely be placed outside of the web tree and people will not be able to circumvent .htaccess security.
--enable-dmalloc
PHP 3, PHP 4: Enable dmalloc
--enable-exif
PHP 3: 没有
PHP 4: Enable exif 支持
--enable-experimental-zts
PHP 3: 没有
PHP 4: 这will most likely break your build
--enable-fast-install[=PKGS]
PHP 3: 没有
PHP 4: optimize for fast installation [default=yes]
--enable-force-cgi-redirect
PHP 3, PHP 4: Enable the security check for internal server redirects. You should use 这if you are running the CGI version with Apache.
--enable-inline-optimization
PHP 3: 没有
PHP 4: If you have much memory and are using gcc, you might try this.
--enable-libgcc
PHP 3: 没有
PHP 4: Enable explicitly linking against libgcc
--enable-maintainer-mode
PHP 3, PHP 4: enable make rules and dependencies not useful (and sometimes confusing) to the casual installer
--enable-memory-limit
PHP 3, PHP 4: Compile with memory limit 支持.
--enable-safe-mode
PHP 3, PHP 4: Enable safe mode by default.
--enable-satellite
PHP 3: 没有
PHP 4: Enable CORBA 支持 via Satellite (Requires ORBit)
--enable-shared[=PKGS]
PHP 3: 没有
PHP 4: build shared libraries [default=yes]
--enable-sigchild
PHP 3, PHP 4: Enable PHP's own SIGCHLD handler.
--enable-static[=PKGS]
PHP 3: 没有
PHP 4: build static libraries [default=yes]
--enable-sysvsem
PHP 3, PHP 4: Enable System V semaphore 支持.
--enable-sysvshm
PHP 3, PHP 4: Enable the System V shared memory 支持
--enable-trans-sid
PHP 3: 没有
PHP 4: Enable transparent session id propagation
--with-cdb[=DIR]
PHP 3, PHP 4: 包含 CDB 支持
--with-config-file-path=PATH
PHP 3: Sets the path in to look for php3.ini. 默认是 /usr/local/lib
PHP 4: Sets the path in to look for php.ini. 默认是 /usr/local/lib
--with-cpdflib[=DIR]
PHP 3: 包含 ClibPDF 支 持. DIR 是 ClibPDF 安装路径, 默认是 /usr/local.
PHP 4: 包含 cpdflib 支持 (requires cpdflib >= 2). DIR 是 cpdfllib 安装路径, 默认是 /usr.
--with-esoob[=DIR]
PHP 3: 没有
PHP 4: 包含 Easysoft OOB 支持. DIR 是 OOB 数据库安装路径, 默认是 /usr/local/easysoft/oob/client.
--with-exec-dir[=DIR]
PHP 3, PHP 4: Only allow executables in DIR when in safe mode 默认是 /usr/local/php/bin
--with-fdftk[=DIR]
PHP 3, PHP 4: 包含 fdftk 支持. DIR 是 fdftk 安装路径, 默认是 /usr/local.
--with-gnu-ld
PHP 3: 没有
PHP 4: assume the C compiler uses GNU ld [default=no]
--with-icap[=DIR]
PHP 3: 没有
PHP 4: 包含 ICAP 支持.
--with-imap[=DIR]
PHP 3, PHP 4: 包含 IMAP 支持. DIR 是 IMAP 包含 and c-client.a directory.
--with-imsp[=DIR]
PHP 3: 包含 IMSP 支持 (DIR is IMSP's 包含 dir and libimsp.a dir).
PHP 4: 没有
--with-java[=DIR]
PHP 3: 没有
PHP 4: 包含 Java 支持. DIR 是 数据库安装路径 for the JDK. 这 extension can only be built as a shared dl.
--with-kerberos[=DIR]
PHP 3: 没有
PHP 4: 包含 Kerberos 支持 in IMAP.
--with-mcal[=DIR]
PHP 3, PHP 4: 包含 MCAL 支持.
--with-mcrypt[=DIR]
PHP 3, PHP 4: 包含 mcrypt 支持. DIR 是 mcrypt 安装路径.
--with-mhash[=DIR]
PHP 3, PHP 4: 包含 mhash 支持. DIR 是 mhash 安装路径.
--with-mm[=DIR]
PHP 3: 没有
PHP 4: 包含 mm 支持 for session storage
--with-mod_charset
PHP 3, PHP 4: Enable transfer tables for mod_charset (Rus Apache).
--with-pdflib[=DIR]
PHP 3: 包含 pdflib 支持 (tested with 0.6 and 2.0). DIR 是 pdflib 安装路径, 默认是 /usr/local.
PHP 4: 包含 pdflib 3.x 支持. DIR 是 pdflib 安装路径, 默认是 /usr/local.
--with-readline[=DIR]
PHP 3: 没有
PHP 4: 包含 readline 支持. DIR 是 readline 安装路径.
--with-regex=TYPE
PHP 3: 没有
PHP 4: regex library type: system, apache, php
--with-servlet[=DIR]
PHP 3: 没有
PHP 4: 包含 servlet 支持. DIR 是 数据库安装路径 for the JSDK. 这SAPI requires that the Java extension be built as a shared dl.
--with-swf[=DIR]
PHP 3: 没有
PHP 4: 包含 swf 支持
--with-system-regex
PHP 3: Do not use the bundled regex library
PHP 4: (deprecated) Use system regex library
--with-tsrm-pth[=pth-config]
PHP 3: 没有
PHP 4: Use GNU Pth.
--with-tsrm-pthreads
PHP 3: 没有
PHP 4: Use POSIX threads (default)
--with-x
PHP 3: use the X Window System
PHP 4: 没有
--with-zlib-dir[=DIR]
PHP 3: zlib dir for pdflib 2.0 or 包含 zlib 支持
PHP 4: zlib dir for pdflib 3.x or 包含 zlib 支持
--with-zlib[=DIR]
PHP 3, PHP 4: 包含 zlib 支持 (requires zlib >= 1.0.9). DIR 是 zlib 安装路径, 默认是 /usr.
--without-pcre-regex
PHP 3: Don't 包含 Perl Compatible Regular Expressions 支持
PHP 4: Do not 包含 Perl Compatible Regular Expressions 支持. Use --with-pcre-regex=DIR to specify DIR where PCRE's 包含 and library files are located, if not using bundled library.
--without-posix
PHP 3: Don't 包含 POSIX functions
PHP 4: 没有; use --disable-posix instead.
Networking
--with-curl[=DIR]
PHP 3: 没有
PHP 4: 包含 CURL 支持
--enable-ftp
PHP 3: Option not available; use --with-ftp instead.
PHP 4: Enable FTP 支 持
--with-ftp
PHP 3: 包含 FTP 支持.
PHP 4: Option not available; use --enable-ftp instead
--disable-url-fopen-wrapper
PHP 3, PHP 4: Disable the URL-aware fopen wrapper that allows accessing files via http or ftp.
--with-mod-dav=DIR
PHP 3, PHP 4: 包含 DAV 支持 through Apache's mod_dav, DIR is mod_dav's installation directory (Apache module version only!)
--with-openssl[=DIR]
PHP 3, PHP 4: 包含 OpenSSL 支持 in SNMP.
--with-snmp[=DIR]
PHP 3, PHP 4: 包含 SNMP 支持. DIR 是 SNMP 数据库安装路径, 默认是 searching through a number of common locations for the snmp install. Set DIR to shared to build as a dl, or shared,DIR to build as a dl and still specify DIR.
--enable-ucd-snmp-hack
PHP 3, PHP 4: Enable UCD SNMP hack
--enable-sockets
PHP 3: 没有
PHP 4: Enable sockets 支持
--with-yaz[=DIR]
PHP 3: 没有
PHP 4: 包含 YAZ 支持 (ANSI/NISO Z39.50). DIR 是 YAZ bin 安装路径
--enable-yp
PHP 3: Option not available; use --with-yp instead.
PHP 4: 包含 YP 支持
--with-yp
PHP 3: 包含 YP 支持
PHP 4: Option not available; use --enable-yp instead.
PHP Behaviour
--enable-magic-quotes
PHP 3, PHP 4: Enable magic quotes by default.
--disable-short-tags
PHP 3, PHP 4: Disable the short-form <? start tag by default.
--enable-track-vars
PHP 3: Enable GET/POST/Cookie track variables by default.
PHP 4: 没有; as of PHP 4.0.2, track_vars is always on.
Server
--with-aolserver-src=DIR
PHP 3: 没有
PHP 4: 指定源代码的路径 AOLserver
--with-aolserver=DIR
PHP 3: 没有
PHP 4: Specify path to the installed AOLserver
--with-apache[=DIR]
PHP 3, PHP 4: Build Apache module. DIR 是 top-level Apache build directory, 默认是 /usr/local/etc/httpd.
--with-apxs[=FILE]
PHP 3, PHP 4: Build shared Apache module. FILE 是 optional pathname to the Apache apxs tool; 默认是 apxs.
--enable-versioning
PHP 3: Take advantage of versioning and scoping Provided by Solaris 2.x and Linux
PHP 4: Export only required symbols. See INSTALL for more information
--with-fhttpd[=DIR]
PHP 3, PHP 4: Build fhttpd module. DIR 是 fhttpd sources directory, 默认是 /usr/local/src/fhttpd.
--with-nsapi=DIR
PHP 3: 没有
PHP 4: Specify path to the installed Netscape
--with-phttpd=DIR
PHP 3: 没有
PHP 4:
--with-pi3web=DIR
PHP 3: 没有
PHP 4: Build PHP as a module for use with Pi3Web.
--with-roxen=DIR
PHP 3: 没有
PHP 4: Build PHP as a Pike module. DIR 是 base Roxen directory, normally /usr/local/roxen/server.
--enable-roxen-zts
PHP 3: 没有
PHP 4: Build the Roxen module using Zend Thread Safety.
--with-thttpd=SRCDIR
PHP 3: 没有
PHP 4:
--with-zeus=DIR
PHP 3: 没有
PHP 4: Build PHP as an ISAPI module for use with Zeus.
Text and language
--with-aspell[=DIR]
PHP 3, PHP 4: 包含 ASPELL 支持.
--with-gettext[=DIR]
PHP 3, PHP 4: 包含 GNU gettext 支持. DIR 是 gettext 安装路径, 默认是 /usr/local
--with-pspell[=DIR]
PHP 3: 没有
PHP 4: 包含 PSPELL 支持.
--with-recode[=DIR]
PHP 3: 包含 GNU recode 支持.
PHP 4: 包含 recode 支持. DIR 是 recode 安装路径.
XML
--with-dom[=DIR]
PHP 3: 没有
PHP 4: 包含 DOM 支持 (requires libxml >= 2.0). DIR 是 libxml 安装路径, 默认是 /usr
--enable-sablot-errors-descriptive
PHP 3: 没有
PHP 4: Enable Descriptive errors
--with-sablot[=DIR]
PHP 3: 没有
PHP 4: 包含 Sablotron 支持
--enable-wddx
PHP 3: 没有
PHP 4: Enable WDDX 支持
--disable-xml
PHP 3: 没有; XML functionality is not built in by default. Use --with-xml to turn it on.
PHP 4: Disable XML 支 持 using bundled expat lib
--with-xml
PHP 3: 包含 XML 支持
PHP 4: Option not available; XML 支持 is built in by default. Use --disable-xml to turn it off.
回复Comments
{commenttime}{commentauthor}
{CommentUrl}
{commentcontent}