PHP源代码编绎参数详解
- 2018-11-18 11:00:00
- 赵勤松 原创
- 2426
编绎环境:CentOS 7.2
源代码版本:php-7.2.9.tar.gz
一、准备工作
1.获得源代码包#wget http://hk1.php.net/get/php-7.2.9.tar.gz/from/this/mirror(最新源码包可在http://www.php.net/上获取)
2.解压源代码包#tar zxvf php-7.2.9.tar.gz
3.获得编绎参数帮助#./configure --help,获得的信息如下
Installation directories: --prefix=PREFIX install architecture-independent files in PREFIX [/usr/local] --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX [PREFIX] --bindir=DIR user executables [EPREFIX/bin] --sbindir=DIR system admin executables [EPREFIX/sbin] --libexecdir=DIR program executables [EPREFIX/libexec] --sysconfdir=DIR read-only single-machine data [PREFIX/etc] --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] --localstatedir=DIR modifiable single-machine data [PREFIX/var] --libdir=DIR object code libraries [EPREFIX/lib] --includedir=DIR C header files [PREFIX/include] --oldincludedir=DIR C header files for non-gcc [/usr/include] --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] --datadir=DIR read-only architecture-independent data [DATAROOTDIR] --infodir=DIR info documentation [DATAROOTDIR/info] --localedir=DIR locale-dependent data [DATAROOTDIR/locale] --mandir=DIR man documentation [DATAROOTDIR/man] --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE] --htmldir=DIR html documentation [DOCDIR] --dvidir=DIR dvi documentation [DOCDIR] --pdfdir=DIR pdf documentation [DOCDIR] --psdir=DIR ps documentation [DOCDIR] System types: --build=BUILD configure for building on BUILD [guessed] --host=HOST cross-compile to build programs to run on HOST [BUILD] --target=TARGET configure for building compilers for TARGET [HOST] Optional Features and Packages: --disable-option-checking ignore unrecognized --enable/--with options --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) --enable-FEATURE[=ARG] include FEATURE [ARG=yes] --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) --with-libdir=NAME Look for libraries in .../NAME rather than .../lib --disable-rpath Disable passing additional runtime library search paths --enable-re2c-cgoto Enable -g flag to re2c to use computed goto gcc extension --disable-gcc-global-regs whether to enable GCC global register variables SAPI modules: --with-apxs2=FILE Build shared Apache 2.0 Handler module. FILE is the optional pathname to the Apache apxs tool apxs --disable-cli Disable building CLI version of PHP (this forces --without-pear) --enable-embed=TYPE EXPERIMENTAL: Enable building of embedded SAPI library TYPE is either 'shared' or 'static'. TYPE=shared --enable-fpm Enable building of the fpm SAPI executable --with-fpm-user=USER Set the user for php-fpm to run as. (default: nobody) --with-fpm-group=GRP Set the group for php-fpm to run as. For a system user, this should usually be set to match the fpm username (default: nobody) --with-fpm-systemd Activate systemd integration --with-fpm-acl Use POSIX Access Control Lists --with-litespeed Build PHP as litespeed module --enable-phpdbg Build phpdbg --enable-phpdbg-webhelper Build phpdbg web SAPI support --enable-phpdbg-debug Build phpdbg in debug mode --disable-cgi Disable building CGI version of PHP --with-valgrind=DIR Enable valgrind support General settings: --enable-gcov Enable GCOV code coverage (requires LTP) - FOR DEVELOPERS ONLY!! --enable-debug Compile with debugging symbols --with-layout=TYPE Set how installed files will be laid out. Type can be either PHP or GNU [PHP] --with-config-file-path=PATH Set the path in which to look for php.ini [PREFIX/lib] --with-config-file-scan-dir=PATH Set the path where to scan for configuration files --enable-sigchild Enable PHP's own SIGCHLD handler --enable-libgcc Enable explicitly linking against libgcc --disable-short-tags Disable the short-form = 1.0.1) --with-kerberos=DIR OPENSSL: Include Kerberos support --with-system-ciphers OPENSSL: Use system default cipher list instead of hardcoded value --with-pcre-regex=DIR Include Perl Compatible Regular Expressions support. DIR is the PCRE install prefix BUNDLED --with-pcre-jit Enable PCRE JIT functionality (BUNDLED only) --with-pcre-valgrind=DIR Enable PCRE valgrind support. Developers only! --without-sqlite3=DIR Do not include SQLite3 support. DIR is the prefix to SQLite3 installation directory. --with-zlib=DIR Include ZLIB support (requires zlib >= 1.0.9) --with-zlib-dir=Define the location of zlib install directory --enable-bcmath Enable bc style precision math functions --with-bz2=DIR Include BZip2 support --enable-calendar Enable support for calendar conversion --disable-ctype Disable ctype functions --with-curl=DIR Include cURL support --enable-dba Build DBA with bundled modules. To build shared DBA extension use --enable-dba=shared --with-qdbm=DIR DBA: QDBM support --with-gdbm=DIR DBA: GDBM support --with-ndbm=DIR DBA: NDBM support --with-db4=DIR DBA: Oracle Berkeley DB 4.x or 5.x support --with-db3=DIR DBA: Oracle Berkeley DB 3.x support --with-db2=DIR DBA: Oracle Berkeley DB 2.x support --with-db1=DIR DBA: Oracle Berkeley DB 1.x support/emulation --with-dbm=DIR DBA: DBM support --with-tcadb=DIR DBA: Tokyo Cabinet abstract DB support --with-lmdb=DIR DBA: Lightning memory-mapped database support --without-cdb=DIR DBA: CDB support (bundled) --disable-inifile DBA: INI support (bundled) --disable-flatfile DBA: FlatFile support (bundled) --disable-dom Disable DOM support --with-libxml-dir=DIR DOM: libxml2 install prefix --with-enchant=DIR Include enchant support. GNU Aspell version 1.1.3 or higher required. --enable-exif Enable EXIF (metadata from images) support --disable-fileinfo Disable fileinfo support --disable-filter Disable input filter support --with-pcre-dir FILTER: pcre install prefix --enable-ftp Enable FTP support --with-openssl-dir=DIR FTP: openssl install prefix --with-gd=DIR Include GD support. DIR is the GD library base install directory BUNDLED --with-webp-dir=DIR GD: Set the path to libwebp install prefix --with-jpeg-dir=DIR GD: Set the path to libjpeg install prefix --with-png-dir=DIR GD: Set the path to libpng install prefix --with-zlib-dir=DIR GD: Set the path to libz install prefix --with-xpm-dir=DIR GD: Set the path to libXpm install prefix --with-freetype-dir=DIR GD: Set the path to FreeType 2 install prefix --enable-gd-jis-conv GD: Enable JIS-mapped Japanese font support --with-gettext=DIR Include GNU gettext support --with-gmp=DIR Include GNU MP support --with-mhash=DIR Include mhash support --disable-hash Disable hash support --without-iconv=DIR Exclude iconv support --with-imap=DIR Include IMAP support. DIR is the c-client install prefix --with-kerberos=DIR IMAP: Include Kerberos support. DIR is the Kerberos install prefix --with-imap-ssl=DIR IMAP: Include SSL support. DIR is the OpenSSL install prefix --with-interbase=DIR Include Firebird support. DIR is the Firebird base install directory /opt/firebird --enable-intl Enable internationalization support --with-icu-dir=DIR Specify where ICU libraries and headers can be found --disable-json Disable JavaScript Object Serialization support --with-ldap=DIR Include LDAP support --with-ldap-sasl=DIR LDAP: Include Cyrus SASL support --enable-mbstring Enable multibyte string support --disable-mbregex MBSTRING: Disable multibyte regex support --disable-mbregex-backtrack MBSTRING: Disable multibyte regex backtrack check --with-libmbfl=DIR MBSTRING: Use external libmbfl. DIR is the libmbfl base install directory BUNDLED --with-onig=DIR MBSTRING: Use external oniguruma. DIR is the oniguruma install prefix. If DIR is not set, the bundled oniguruma will be used --with-mysqli=FILE Include MySQLi support. FILE is the path to mysql_config. If no value or mysqlnd is passed as FILE, the MySQL native driver will be used --enable-embedded-mysqli MYSQLi: Enable embedded support Note: Does not work with MySQL native driver! --with-mysql-sock=SOCKPATH MySQLi/PDO_MYSQL: Location of the MySQL unix socket pointer. If unspecified, the default locations are searched --with-oci8=DIR Include Oracle Database OCI8 support. DIR defaults to $ORACLE_HOME. Use --with-oci8=instantclient,/path/to/instant/client/lib to use an Oracle Instant Client installation --with-odbcver=HEX Force support for the passed ODBC version. A hex number is expected, default 0x0350. Use the special value of 0 to prevent an explicit ODBCVER to be defined. --with-adabas=DIR Include Adabas D support /usr/local --with-sapdb=DIR Include SAP DB support /usr/local --with-solid=DIR Include Solid support /usr/local/solid --with-ibm-db2=DIR Include IBM DB2 support /home/db2inst1/sqllib --with-ODBCRouter=DIR Include ODBCRouter.com support /usr --with-empress=DIR Include Empress support \$EMPRESSPATH (Empress Version >= 8.60 required) --with-empress-bcs=DIR Include Empress Local Access support \$EMPRESSPATH (Empress Version >= 8.60 required) --with-birdstep=DIR Include Birdstep support /usr/local/birdstep --with-custom-odbc=DIR Include user defined ODBC support. DIR is ODBC install base directory /usr/local. Make sure to define CUSTOM_ODBC_LIBS and have some odbc.h in your include dirs. f.e. you should define following for Sybase SQL Anywhere 5.5.00 on QNX, prior to running this configure script: CPPFLAGS=\"-DODBC_QNX -DSQLANY_BUG\" LDFLAGS=-lunix CUSTOM_ODBC_LIBS=\"-ldblib -lodbc\" --with-iodbc=DIR Include iODBC support /usr/local --with-esoob=DIR Include Easysoft OOB support /usr/local/easysoft/oob/client --with-unixODBC=DIR Include unixODBC support /usr/local --with-dbmaker=DIR Include DBMaker support --disable-opcache Disable Zend OPcache support --disable-opcache-file Disable file based caching --disable-huge-code-pages Disable copying PHP CODE pages into HUGE PAGES --enable-pcntl Enable pcntl support (CLI/CGI only) --disable-pdo Disable PHP Data Objects support --with-pdo-dblib=DIR PDO: DBLIB-DB support. DIR is the FreeTDS home directory --with-pdo-firebird=DIR PDO: Firebird support. DIR is the Firebird base install directory /opt/firebird --with-pdo-mysql=DIR PDO: MySQL support. DIR is the MySQL base directory If no value or mysqlnd is passed as DIR, the MySQL native driver will be used --with-zlib-dir=DIR PDO_MySQL: Set the path to libz install prefix --with-pdo-oci=DIR PDO: Oracle OCI support. DIR defaults to $ORACLE_HOME. Use --with-pdo-oci=instantclient,/path/to/instant/client/lib for an Oracle Instant Client installation. --with-pdo-odbc=flavour,dir PDO: Support for 'flavour' ODBC driver. include and lib dirs are looked for under 'dir'. 'flavour' can be one of: ibm-db2, iODBC, unixODBC, generic If ',dir' part is omitted, default for the flavour you have selected will be used. e.g.: --with-pdo-odbc=unixODBC will check for unixODBC under /usr/local. You may attempt to use an otherwise unsupported driver using the \"generic\" flavour. The syntax for generic ODBC support is: --with-pdo-odbc=generic,dir,libname,ldflags,cflags When built as 'shared' the extension filename is always pdo_odbc.so --with-pdo-pgsql=DIR PDO: PostgreSQL support. DIR is the PostgreSQL base install directory or the path to pg_config --without-pdo-sqlite=DIR PDO: sqlite 3 support. DIR is the sqlite base install directory BUNDLED --with-pgsql=DIR Include PostgreSQL support. DIR is the PostgreSQL base install directory or the path to pg_config --disable-phar Disable phar support --disable-posix Disable POSIX-like functions --with-pspell=DIR Include PSPELL support. GNU Aspell version 0.50.0 or higher required --with-libedit=DIR Include libedit readline replacement (CLI/CGI only) --with-readline=DIR Include readline support (CLI/CGI only) --with-recode=DIR Include recode support --disable-session Disable session support --with-mm=DIR SESSION: Include mm support for session storage --enable-shmop Enable shmop support --disable-simplexml Disable SimpleXML support --with-libxml-dir=DIR SimpleXML: libxml2 install prefix --with-snmp=DIR Include SNMP support --with-openssl-dir=DIR SNMP: openssl install prefix --enable-soap Enable SOAP support --with-libxml-dir=DIR SOAP: libxml2 install prefix --enable-sockets Enable sockets support --with-sodium=DIR Include sodium support --with-password-argon2=DIR Include Argon2 support in password_*. DIR is the Argon2 shared library path] --enable-sysvmsg Enable sysvmsg support --enable-sysvsem Enable System V semaphore support --enable-sysvshm Enable the System V shared memory support --with-tidy=DIR Include TIDY support --disable-tokenizer Disable tokenizer support --enable-wddx Enable WDDX support --with-libxml-dir=DIR WDDX: libxml2 install prefix --with-libexpat-dir=DIR WDDX: libexpat dir for XMLRPC-EPI (deprecated) --disable-xml Disable XML support --with-libxml-dir=DIR XML: libxml2 install prefix --with-libexpat-dir=DIR XML: libexpat install prefix (deprecated) --disable-xmlreader Disable XMLReader support --with-libxml-dir=DIR XMLReader: libxml2 install prefix --with-xmlrpc=DIR Include XMLRPC-EPI support --with-libxml-dir=DIR XMLRPC-EPI: libxml2 install prefix --with-libexpat-dir=DIR XMLRPC-EPI: libexpat dir for XMLRPC-EPI (deprecated) --with-iconv-dir=DIR XMLRPC-EPI: iconv dir for XMLRPC-EPI --disable-xmlwriter Disable XMLWriter support --with-libxml-dir=DIR XMLWriter: libxml2 install prefix --with-xsl=DIR Include XSL support. DIR is the libxslt base install directory (libxslt >= 1.1.0 required) --enable-zend-test Enable zend-test extension --enable-zip Include Zip read/write support --with-zlib-dir=DIR ZIP: Set the path to libz install prefix --with-pcre-dir ZIP: pcre install prefix --with-libzip=DIR ZIP: use libzip --enable-mysqlnd Enable mysqlnd explicitly, will be done implicitly when required by other extensions --disable-mysqlnd-compression-support Disable support for the MySQL compressed protocol in mysqlnd --with-zlib-dir=DIR mysqlnd: Set the path to libz install prefix PEAR: --with-pear=DIR Install PEAR in DIR [PREFIX/lib/php] --without-pear Do not install PEAR Zend: --enable-maintainer-zts Enable thread safety - for code maintainers only!! --disable-inline-optimization If building zend_execute.lo fails, try this switch --disable-zend-signals whether to enable zend signal handling TSRM: --with-tsrm-pth=pth-config Use GNU Pth --with-tsrm-st Use SGI's State Threads --with-tsrm-pthreads Use POSIX threads (default) Libtool: --enable-shared=PKGS Build shared libraries default=yes --enable-static=PKGS Build static libraries default=yes --enable-fast-install=PKGS Optimize for fast installation default=yes --with-gnu-ld Assume the C compiler uses GNU ld default=no --disable-libtool-lock Avoid locking (might break parallel builds) --with-pic Try to use only PIC/non-PIC objects default=use both --with-tags=TAGS Include additional configurations automatic
下面以表格形式对参数进行详细介绍
编号 | 参数 | 说明 |
---|---|---|
1 | --prefix=PREFIX | 编绎安装根路径,默认为/usr/local |
2 | --exec-prefix=EPREFIX |
编绎安装可执行程序路径,默认为PREFIX |
3 | --bindir=DIR | 编绎安装 bin目录单独指定路径,默认为PREFIX或EXEC-PREFIX |
4 | --sbindir=DIR | 编绎安装 sbin目录单独指定路径,默认为PREFIX或EXEC-PREFIX |
5 | --libexecdir=DIR | 程序可执行目录,即动态加载模块目录,默认为PREFIX/libexec |
6 | --sysconfdir=DIR | 系统配置文件目录,默认为PREFIX/etc |
7 | --sharedstatedir=DIR | 共享数据目录,默认为PREFIX/com |
8 | --localstatedir=DIR | 地区相关数据目录,默认为PREFIX/var |
9 | --libdir=DIR | 编绎生成动态模块的保存路径,默认为PREFIX/lib |
10 | --includedir=DIR | 编绎动态模块时需要包含的PHP相关头文件路径,默认为PREFIX/include |
11 | --oldincludedir=DIR | 编绎动态模块时需要包含的非GCC相关头文件路径,默认为/usr/include |
12 | --datarootdir=DIR | 与体系无关的文档根目录路径,如man手册等,默认为PREFIX/share |
13 | --datadir=DIR | 数据目录,默认为DATAROOTDIR |
14 | --infodir=DIR | 信息文档目录,默认为DATAROOTDIR/info |
15 | --localedir=DIR | 地区信息文档目录,默认为DATAROOTDIR/locale |
16 | --mandir=DIR | man文档目录,默认为DATAROOTDIR/man |
17 | --docdir=DIR | doc文档目录,默认为DATAROOTDIR/doc/PACKAGE |
18 | --htmldir=DIR | html文档目录,默认为DOCDIR |
19 | --dvidir=DIR | dvi文档目录,默认为DOCDIR |
20 | --pdfdir=DIR | pdf文档目录,默认为DOCDIR |
21 | --psdir=DIR | ps文档目录,默认为DOCDIR |
22 | --bind=BUILD | 以指定系统类型为对象进行编绎 |
23 | --host=HOST |
指定Apache HTTP Server进行交叉编绎时运行的目标系统类型HOST |
24 | --target=TARGET | 指定交叉编绎所产生的目标代码类型 |
25 | --disable-option-checking | 忽略未识别的enable/with指令(不指定该参数时将退出) |
26 | --disable-FEATURE | 关闭特征选项,等同于--enable-FEATURE=no |
27 | --enable-FEATURE[=ARG] | 开启特征选项(ARG=yes),默认开启 |
28 | --with-PACKAGE[=ARG] | 使用封装(ARG=yes),默认开启 |
29 | --without-PACKAGE | 禁用封装,等同于--with-PACKAGE=no |
30 | --with-libdir=NAME | 编绎时库文件查找路径 |
31 | --disable-rpath | 禁止额外的运行库搜索路径 |
32 | --enable-re2c-cgoto | 允许gcc中的re2c使用-g参数 |
33 | --disable-gcc-global-regs |
禁止使用GCC的全局变量 |
34 | --with-apxs2=FILE | 编绎共享的apache2.0处理程序的模块,参数为apache apxs工具的路径 |
35 | --disable-cli |
禁止编绎cli模式下的PHP |
36 | --enable-embed=TYPE |
开启 SAPI功能,TYPE为static(静态)和shared(共享) |
37 | --enable-fpm |
开户FPM模块 |
38 | --with-fpm-user=USER |
以指定用户启动FPM,默认为nobody |
39 | --with-fpm-group=GROUP | 以指定群组启动FPM,默认为nobody |
40 | --with-fpm-systemd | 使FPM支持CentOS7的systemd功能 |
41 | --with-fpm-acl | 使用POSIX访问控制列表 |
42 | --with-litespeed |
将PHP编绎为 LiteSpeed模块 |
43 | --enable-phpdbg | 编绎PHP调试工具phpdbg |
44 | --enable-phpdbg-webhelper | 编绎的phpdbg支持SAPI |
45 | --enable-phpdbg-debug | 编绎调试模式的phpdbg |
46 | --disable-cgi | 禁止编绎cgi模式的PHP |
47 | --with-valgrind=DIR | 设定 valgrind(内存泄漏检测工具)的路径 |
48 | --enable-gcov | 开启 gcov(代码覆盖率工具)支持 |
49 | --enable-debug | 使编绎的PHP程序含有调试信息 |
50 | --with-layout=TYPE |
显示安装文件的布局,TYPE为PHP或GNU |
51 | --with-config-file-path=PATH | php.ini文件路径,默认为PREFIX/lib |
52 | --with-config-file-scan-dir=PATH | 配置文件的扫描路径 |
53 | --enable-sigchild | 启用PHP自带的SIGCHLD处理器 |
54 | --enable-libgcc | 启用libgcc的精确链接 |
55 | --disable-short-tags |
禁止使用<?(使用<?php)作为PHP代码的开始标记 |
56 | --with-kerberos=DIR | 包含 kerberos支持 |
57 | --with-system-ciphers | 启用系统自带的密码列表来替代硬编码 |
58 | --with-pcre-regex=DIR |
开启PCRE(perl方式的正则表达式)支持,DIR为pcre库的编绎路径 |
59 | --with-pcre-jit | 启用正则表达式的即时编绎功能 |
60 | --with-pcre-valgrind=DIR | 开户正则表达式的 valgrind支持 |
61 | --without-sqlite3=DIR | 禁用sqlite3数据库,DIR为安装的SQLite3目录 |
62 | --with-zlib=DIR |
支持zlib,DIR为对应的库路径,版本>=1.0.9 |
63 | --with-zlib-dir=Define | 定义编绎需要的zlib开发库的路径 |
64 | --enable-bcmath | 支持bc高精度数学函数 |
65 | --with-bz2=DIR | 支持bz2,DIR为对应的库路径 |
66 | --enable-calendar | 启用日期转换支持 |
67 | --disable-ctype | 禁用字符串检测ctype库 |
68 | --with-curl=DIR |
启用curl库,DIR为对应的库路径 |
69 | --enable-dba |
开启捆绑模式的dba库,共享库使用--enable-dba=shared |
70 | --with-qdbm=DIR | 启用QDBM数据库支持 |
71 | --with-gdbm=DIR | 启用GDBM数据库支持 |
72 | --with-ndbm=DIR | 启用NDBM数据库支持 |
73 | --with-db4=DIR | 启用Berkeley DB4数据库支持 |
74 | --with-db3=DIR | 启用Berkeley DB3数据库支持 |
75 | --with-db2=DIR | 启用Berkeley DB2数据库支持 |
76 | --with-db1=DIR | 启用Berkeley DB1数据库支持 |
77 | --with-dbm=DIR | 启用DBM数据库支持 |
78 | --with-tcadb=DIR | 启用Tokyo Cabinet. abstract数据库支持 |
79 | --with-lmdb=DIR | 启用 LMDB数据库支持 |
80 | --without-cdb=DIR | 禁用CDB数据库支持 |
81 | --disable-inifile | 禁用INI文件的操作函数 |
82 | --disalbe-flatfile | 禁用 FlatFile(平面文件)的操作函数 |
83 | --disable-dom | 禁用DOM函数库 |
84 | --with-libxml-dir=DIR | 设定libxml开发库的路径 |
85 | --with-enchant=DIR | 开启enchant拼写库 |
86 | --enable-exif | 开启图片exif信息读取库 |
87 | --disable-fileinfo | 禁用fileinfo库(通过读取文件位置信息,猜测文件的内容及编码) |
88 | --disable-filter | 禁用filter库(验证和过滤输入源的信息) |
89 | --with-pcre-dir | 设定正则表达式pcre开发库的路径 |
90 | --enable-ftp | 启用PHP的ftp功能,使其可以访问ftp服务器 |
91 | --with-openssl-dir=DIR | 设定openssl开发库的路径 |
92 | --with-gd=DIR | 设定gd开发库的路径 |
93 | --with-webp-dir=DIR | 设定gd支持webp图片的开发库路径 |
94 | --with-jpeg-dir=DIR | 设定gd支持jpeg图片的开发库路径 |
95 | --with-png-dir=DIR | 设定gd支持png图片的开发库路径 |
96 | --with-zlib-dir=DIR | 定义编绎需要的zlib开发库的路径 |
97 | --with-xpm-dir=DIR | 设定gd支持xpm图片的开发库路径 |
98 | --with-freetype-dir=DIR |
开启FreeType字体引擎支持,主要供gd库使用 |
99 | --enable-gd-jis-conv | 启用gd库的日文编码支持 |
100 | --with-gettext=DIR | 开启GNU的gettext库支持(多语言支持) |
101 | --with-gmp=DIR | 开户GNU的gmp库支持(开源数学运算库) |
102 | --with-mhash=DIR | 开启 Mhash加密扩展库 |
103 | --disable-hash | 禁用hash函数库 |
104 | --without-iconv=DIR | 禁用iconv库(字符集转化函数库) |
105 | --with-imap=DIR |
启用PHP的IMAP功能收取邮件 |
106 | --with-kerberos=DIR | 包含 kerberos支持 |
107 | --with-imap-ssl=DIR | 启用PHP的IMAP(SSL)功能收到邮件 |
108 | --with-interbase=DIR | 设定interbase(FireBird)数据库的开发库路径 |
109 | --enable-intl |
启用intl国际化( ICU库)支持 |
110 | --with-icu-dir |
设定intl需要的ICU开发库的路径 |
111 | --disable-json | 禁用json库函数 |
112 | --with-ldap=DIR | 设定 ldap开发库的路径 |
113 | --with-ldap-sasl=DIR | 设ldap的 SASL认证开发库的路径 |
114 | --enable-mbstring | 启用多字节字符串库 |
115 | --disable-mbregex | 禁用正则表达式中的多字节匹配 |
116 | --disable-mbregex-backtrack | 禁用正则表达 式中的多字节回溯检测 |
117 | --with-libmbfl=DIR | 设定libmbfl开发库的路径,mbstring库编绎需要 |
118 | --with-onig=DIR | 设定oniguruma开发库的路径,mbstring库编绎需要 |
119 | --with-mysqli=FILE | 设定mysqli开发库的路径 |
120 | --enable-embedded-mysqli | 开启连接embedded启动的mysql服务器 |
121 | --with-mysql-sock=SOCKPATH | 设定mysql对应sock文件路径,默认为/var/lib/mysql.sock |
122 | --with-oci8=DIR | 开启Oracle数据库支持 |
123 | --with-odbcver=HEX |
设定ODBC的版本 |
124 | --with-adabas=DIR | 设定 Adabas D数据库开发库的路径,默认为/usr/local |
125 | --with-sapdb=DIR | 设定Sap Db数据库开发库的路径,默认为/usr/local |
126 | --with-solid=DIR | 设定 Solid数据库开发库的路径,默认为/usr/local/solid |
127 | --with-ibm-db2=DIR | 设定IBM DB2数据库的开发路径 |
128 | --with-ODBCRouter=DIR |
设定
ODBCRouter开发库的路径,默认为/usr |
12 | --with-empress=DIR | 设定Empress开发库的路径 |
130 | --with-empress-bcs=DIR | 设定Empress Local Access开发库的路径 |
131 | --with-birdstep=DIR | 设定Birdstep开发库的路径,默认为/usr/local/birdstep |
132 | --with-custom-odbc=DIR |
设定用户自定义ODBC开发库的路径 |
133 | --with-iodbc=DIR | 设定iODBC开发库的路径,默认为/usr/local |
134 | --with-esoob=DIR | 设定 Easysoft OOB数据库的开发库路径,默认为/usr/local/easysoft/oob/client |
135 | --with-unixODBC=DIR | 设定 unixODBC开发库的路径,默认为/usr/local |
136 | --with-dbmaker=DIR | 设定 DBMaker数据库的开发库路径 |
137 | --disable-opcache | 禁用 opcache(内存预编绎技术)功能 |
138 | --disable-opcache-file | 禁用opcache文件缓存技术 |
139 | --disable-huge-code-pages |
禁用 HugePage大内存页存储特性,默认开启 |
140 | --enable-pcntl | 开启多进程控制函数库 |
141 | --disable-pdo | 禁用PDO连接数据库 |
142 | --with-pdo-dblib=DIR | 设定PDO下dblib连接的开发库路径 |
143 | --with-pdo-firebird=DIR |
设定PDO下firebird数据库连接的开发库路径 |
144 | --with-pdo-mysql=DIR | 设定PDO下mysql数据库连接的开发库路径 |
145 | --with-zlib-dir=DIR | 定义编绎需要的zlib开发库的路径 |
146 | --with-pdo-oci=DIR |
设定PDO下Oracle OCi连接的开发库路径 |
147 | --with-pdo-odbc=flavour.dir | 设定PDO下flavour ODBC连接的开发库路径 |
148 | --with-pdo-pgsql=DIR | 设定PDO下 PostgreSQL数据库的开发库路径 |
149 | --without-pdo-sqlite=DIR | 禁用PDO下Sqlite数据库的连接 |
150 | --with-pgsql=DIR | 设定 PostgreSQL数据库的开发库路径 |
151 | --disable-phar | 禁用编绎PHAR功能 |
152 | --disable-posix | 禁用POSIX函数库 |
153 | --with-pspell=DIR | 设定Pspell函数开发库的路径 |
154 | --with-libedit=DIR | 设定libedit开发库的路径 |
155 | --with-readline=DIR | 设定readline开发库的路径,用于实现Shell |
156 | --with-recode=DIR | 设定recode开发库的路径 |
157 | --disable-session | 禁用session |
158 | --with-mm=DIR | 设定Session中的mm特性开发库的路径 |
159 | --enable-shmop | 启用Unix共享内存操作库 Shmop |
160 | --disable-simplexml |
禁用 SimpleXML操作XML文档 |
161 | --with-libxml-dir=DIR | 设定libxml开发库的路径 |
162 | --with-snmp=DIR | 设定 SNMP(简便网络管理协议)开发库的路径 |
163 | --with-openssl-dir=DIR | 设定openssl开发库的路径 |
164 | --enable-soap | 启用 SOAP(Xml简单通讯协议) |
165 | --with-libxml-dir=DIR | 设定libxml开发库的路径 |
166 | --enable-sockets | 启用SOCKET操作库 |
167 | --with-sodium=DIR | 设定Sodium加密开发库的路径 |
168 | --with-password-argon2=DIR | 设定Argon2散列加密算法开发库的路径 |
169 | --enable-sysvmsg | 启用消息队列支持 |
170 | --enable-sysvsem | 启用信号量支持 |
171 | --enable-sysvshm | 启用共享内存支持 |
172 | --with-tidy=DIR |
设定HTML格式化与美化 Tidy函数开发库的路径 |
173 | --disable-tokenizer | 禁用 Tokenizer函数库 |
174 | --enable-wddx | 启用 WDDX(Web分布式数据交换) |
175 | --with-libxml-dir=DIR | 设定libxml开发库的路径 |
176 | --with-libexpat-dir=DIR | 设定xml使用的Expat解析器开发库路径 |
177 | --disable-xml | 禁用使用xml功能 |
178 | --with-libxml-dir=DIR | 设定libxml开发库的路径 |
179 | --with-libexpat-dir=DIR | 设定xml使用的Expat解析器开发库路径 |
180 | --disable-xmlreader | 禁用xmlreader库(xml读) |
181 | --with-libxml-dir=DIR | 设定libxml开发库的路径 |
182 | --with-xmlrpc=DIR | 禁用 XmlRpc库(以xml报文作为远程调用协议) |
183 | --with-libxml-dir=DIR | 设定libxml开发库的路径 |
184 | --with-libexpat-dir=DIR | 设定xml使用的Expat解析器开发库路径 |
185 | --with-iconv-dir=DIR | 设定iconv开发库的路径(字符集转换) |
186 | --disable-xmlwriter | 禁用xmlwrite库(xml写) |
187 | --with-libxml-dir=DIR | 设定libxml开发库的路径 |
188 | --with-xsl=DIR | 设定xsl开发库的路径 |
189 | --enable-zend-test | 开启zend测试模块 |
190 | --enable-zip | 开启zip压缩功能 |
191 | --with-zlib-dir=DIR | 定义编绎需要的zlib开发库的路径 |
192 | --with-pcre-dir | 设定正则表达式pcre开发库的路径 |
193 | --with-libzip=DIR | 设定zip开发库的路径 |
194 | --enable-mysqlnd | 启用Mysqlnd支持 |
195 | --disable-mysqlnd-compression-support | 禁用Mysqlnd的压缩通讯协议 |
196 | --with-zlib-dir=DIR | 定义编绎需要的zlib开发库的路径 |
197 | --with-pear=DIR | 设定 Pear开发库的路径 |
198 | --without-pear | 禁用 Pear库 |
199 | --enable-maintainer-zts | 启用线程安全模式(仅用于代码维护人员) |
200 | --disable-inline-optimization | 禁止使用Zend引擎进行代码优化 |
201 | --disable-zend-signals | 禁用Zend引擎的信号量 |
202 | --with-tsrm-path=pth-config | 使用GNU方式管理线程 (TSRM) |
203 | --with-tsrm-st | 使用SGI方式管理线程( TSRM) |
204 | --with-tsrm-pthreads | 设定使用POSIX线程(默认)( TSRM) |
205 | --enable-shared=PKGS | 启用动态库编绎,默认为yes |
206 | --enable-static=PKGS | 启用静态库编绎,默认为yes |
207 | --enable-fast-install=PKGS | 启用快速安装优化模式,默认为yes |
208 | --with-gnu-ld | 设定C编绎器使用GNU LD |
209 | --disable-libtool-lock | 禁止锁死 |
210 | --with-pic | 尝试仅使用PIC/non-PIC对象,默认=use both |
211 | --with-tags=TAGS | 启用额外的自动配置信息 |
联系人: | powereye |
---|---|
Email: | zqs@someapp.cn |
QQ: | 1134846 |
微信: | powereye |