• www.517888.com,www.517888.com唯一官网

  • 发布时间:2016-01-13 01:12 | 作者:yc | 来源:互联网 | 浏览:1200 次
  • www.517888.com,www.517888.com唯一官网

    Linux下编译PHP时选项参数相称多,今日下决心./configure --help > help.txt导出一份编译选项清单并翻译了,便利往后查阅.

    SAPI modules(PHP SAPI接口模块的选项):

    大年夜多半与apache、nginx等web效劳有关

    --with-aolserver=DIRAOLserver的装配道路

    --with-apxs=FILE编译出apache1.x版其余同享模块所寄存的道路

    --with-apache=DIR编译出apache1.x版其余模块,这儿设定为apache软件根目录

    --enable-mod-charset启用apache的mod_charset(俄文apache用的)

    --with-apxs2filter=FILE 编译apache2.0的同享过滤模块,这儿设定为apache apxs器械的道路

    PHP5.6编译安装参数大全

    --with-apxs2=FILE编译同享apache2.0处置惩罚法度榜样的模块,这儿设定为apache apxs器械的道路

    --with-apache-hooks=FILE同享的apache1.0的钩子模块,这儿设定为apache apxs器械的道路

    --with-apache-hooks-static=DIR 这儿设定为apache apxs器械的道路

    --disable-cli禁用敕令行要领(php-cli)

    --with-continuity=DIR编译php为接连效劳模块参数为装配Continuity Server的根目录

    --enable-embed=TYPE树立内嵌的SAPI库参数为shared、static

    --enable-fpm洞开fpm要领(nginx等效劳用的)

    --with-fpm-user=USERfpm运转的用户,默以为nobody

    --with-fpm-group=GRPfpm运转的组,默以为nobody

    --with-fpm-systemd激活体系集胜使用,洞开后fpm能够上报给体系一些信息

    --with-fpm-acl运用POSIX 拜访操控列表,5.6.5版别起有用

    --with-isapi=DIR为Zeus web效劳器树立ISAPI模块

    --with-litespeed编译PHP为litespeed模块

    --with-milter=DIR编译PHP为Milter利用法度榜样

    --with-nsapi=DIR为Netscape/iPlanet/Sun Web效劳器编译PHP为NSAPI模块

    --enable-phpdbg编译洞开phpdbg调试器

    --enable-phpdbg-debug编译phpdbg调试器为debug要领

    --with-phttpd=DIR编译PHP为phttpd模块

    --with-pi3web=DIR编译PHP为pi3web模块

    --with-roxen=DIR编译PHP为roxen模块

    --enable-roxen-zts编译PHP为roxen模块,线程安然

    --with-thttpd=SRCDIR编译PHP为thttpd模块

    --with-tux=MODULEDIR编译PHP为tux模块

    --with-webjames=SRCDIR编译PHP为webjames模块

    --disable-cgi禁用cgiGeneral settings(归纳设置):

    --enable-gcov洞开gcov支撑(测验代码覆盖率功用,)

    --enable-debugCompile with debugging symbols

    --with-layout=TYPESet how installed files will be laid out.Type can

    be either PHP or GNU [PHP]--with-config-file-path=PATH php.ini文件方位[PREFIX/lib]六合宝典

    --with-config-file-scan-dir=PATH 扫描设置设置设备摆设摆设文件的道路

    --enable-sigchild运用PHP自带的SIGCHLD处置惩罚器

    --enable-libgcc启用libgcc的准确链接

    --disable-short-tags默许禁用短要领的

    Extensions(拓展):

    --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=DIRPDO: 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=DIRInclude PostgreSQL support.DIR is the PostgreSQL

    base install directory or the path to pg_config

    --disable-pharDisable phar support

    --disable-posixDisable POSIX-like functions

    --with-pspell=DIRInclude PSPELL support.

    GNU Aspell version 0.50.0 or higher required

    --with-libedit=DIRInclude libedit readline replacement (CLI/CGI only)

    --with-readline=DIRInclude readline support (CLI/CGI only)

    --with-recode=DIRInclude recode support

    --disable-sessionDisable session support

    --with-mm=DIRSESSION: Include mm support for session storage

    --enable-shmopEnable shmop support

    --disable-simplexmlDisable SimpleXML support

    --with-libxml-dir=DIRSimpleXML: libxml2 install prefix

    --with-snmp=DIRInclude SNMP support

    --with-openssl-dir=DIRSNMP: openssl install prefix

    --enable-soapEnable SOAP support

    --with-libxml-dir=DIRSOAP: libxml2 install prefix

    --enable-socketsEnable sockets support

    --with-sybase-ct=DIRInclude Sybase-CT sus678ccpport.DIR is the Sybase home

    directory /home/sybase

    --enable-sysvmsgEnable sysvmsg support

    --enable-sysvsemEnable System V semaphore support

    --enable-sysvshmEnable the System V shared memory support

    --with-tidy=DIRInclude TIDY support

    --disable-tokenizerDisable tokenizer support

    --enable-wddxEnable WDDX support

    --with-libxml-dir=DIRWDDX: libxml2 install prefix

    --with-libexpat-dir=DIR WDDX: libexpat dir for XMLRPC-EPI (deprecated)

    --disable-xmlDisable XML support

    --with-libxml-dir=DIRXML: libxml2 install prefix

    --with-libexpat-dir=DIR XML: libexpat install prefix (deprecated)

    --disable-xmlreaderDisable XMLReader support

    --with-libxml-dir=DIRXMLReader: libxml2 install prefix

    --with-xmlrpc=DIRInclude XMLRPC-EPI support

    --with-libxml-dir=DIRXMLRPC-EPI: libxml2 install prefix

    --with-libexpat-dir=DIR XMLRPC-EPI: libexpat dir for XMLRPC-EPI (deprecated)

    --with-iconv-dir=DIRXMLRPC-EPI: iconv dir for XMLRPC-EPI

    --disable-xmlwriterDisable XMLWriter support

    --with-libxml-dir=DIRXMLWriter: libxml2 install prefix

    --with-xsl=DIRInclude XSL support.DIR is the libxslt base

    install directory (libxslt >= 1.1.0 required)

    --enable-zipInclude Zip read/write support

    --with-zlib-dir=DIRZIP: Set the path to libz install prefix

    --with-pcre-dirZIP: pcre install prefix

    --with-libzip=DIRZIP: use libzip

    --enable-mysqlndEnable 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=DIRmysqlnd: Set the path to libz install prefix

  • 相关内容

友情链接: