热门标签 | HotTags
当前位置:  开发笔记 > 编程语言 > 正文

php编译设置版本,编译PHP的windows版本

--enable-snapshot-buildBuildasnapshot;turnsoneverythingiandignoresbuilderrors建立快照版本,

--enable-snapshot-build       Build a snapshot; turns on everything i and ignores build errors

建立快照版本,打开所有编译项同时忽略编译错误

--enable-one-shot             Optimize for fast build - best for rele  snapshot builders, not so hot for

edit-and-rebuild hacking

--with-cygwin                 Path to cygwin utilities on your system

使用cygwin系统工具

--enable-object-out-dir       Alternate location for binary objects during build

二进制对象在编译后的目录

--enable-debug                Compile with debugging symbols

编译时带调试信息

--enable-debug-pack           Release binaries with external debug symbols

(--enable-debug must not be specified)

--disable-zts                 Thread safety

--with-prefix                 where PHP will be installed

--with-mp                     Tell VC9+ use up to [n,auto,disable] processes

for compilation

是否使用多处理器编译

--with-php-build              Path to where you extracted the development libraries

(http://wiki.php.net/internals/windows/   Assumes that it is a sibling of this so

dir (..\deps) if not specified

指定在windows下编译php需要的开发库

--with-extra-includes         Extra include path to use when building  everything

编译php时使用的其他包含路径

--with-extra-libs             Extra library path to use when linking  everything

链接时使用的其他包含库路径

--disable-ipv6                Disable IPv6 support (default is turn it on if available)

--enable-fd-setsize           Set maximum number of sockets for selected(2)

为selected设置最大数量的socket数量

--enable-zend-multibyte       Enable Zend multibyte encoding support

Fran?ois Laupretre came next, with a fix forhref="http://bugs.php.net/42396">bug

#42396 in PHP 5.He wrote that theconfiguration

option--enable-zend-multibyteleads

to

auto-detection of Unicode encoded scripts. This is fine until a script

contains null bytes following a call to__HALT_COMPILER(),

when

execution results in ‘a

lot of ‘?’ garbage‘. Effectively, this renders

anything using__HALT_COMPILER()(read:

PHK or phar) incompatible

with--enable-zend-multibyte,

with the only workaround being the

unacceptable one of turning off thedetect_unicodeflag.

Fran?ois’ patch offered ‘a

small detection loop‘ to check for a

sequence of four0xffbytes;

if found, Unicode detection is

switched off and the script considered non-Unicode. His idea was that

deliberately setting the switch would make generated archives compatible with

the configuration option.

--with-snapshot-template      Path to snapshot builder template dir

--enable-security-flags       Enable the compiler security flags

--enable-static-analyze       Enable the VC compiler static analyze

intel static analyze中使用static analyze 检查安全漏洞

--with-aolserver              Build AOLserver support

--enable-apache               Build Apache 1.3.x version of PHP

--with-apache-includes        Where to find Apache 1.3 headers

--with-apache-libs            Where to find Apache 1.3 libraries

--enable-apache2filter        Build Apache 2.x filter

--enable-apache2-2filter      Build Apache 2.2.x filter

--enable-apache2handler       Build Apache 2.x handler

--enable-apache2-2handler     Build Apache 2.2.x handler

--with-apache-hooks           Build Apache 1.3.x (hooks) version of PHP

--disable-cgi                 Build CGI version of PHP

--disable-cli                 Build CLI version of PHP

--enable-crt-debug            Enable CRT memory dumps for debugging send to STDERR

检测内存泄漏的主要工具是调试器和 C 运行时库 (CRT) 调试堆函数。若要启用调试堆函数,请在程序中包括以下语句:

#define _CRTDBG_MAP_ALLOC

#include

#include

--enable-cli-win32            Build console-less CLI version of PHP

--enable-embed                Embedded SAPI library

--enable-isapi                Build ISAPI version of PHP

--enable-nsapi                Build NSAPI for Netscape/iPlanet/SunONE

webservers

--with-nsapi-includes         Where to find NSAPI headers

--with-nsapi-libs             Where to find NSAPI libraries

--with-pi3web                 Pi3Web

--disable-bcmath              bc style precision math functions

--with-bz2                    BZip2

--disable-calendar            calendar conversion support

--disable-com-dotnet          COM and .Net support

--disable-ctype               ctype

--with-curl                   cURL support

--with-dba                    DBA support

Database (dbm-style) Abstraction Layer

--with-enchant                Enchant Support

Enchant spelling library

--without-ereg                POSIX extended regular expressions

--enable-fileinfo             fileinfo support

--disable-filter              Filter Support

是否使用flter扩展来处理安全过滤问题

--disable-ftp                 ftp support

--without-gd                  Bundled GD support

--without-t1lib               t1lib support

--with-gettext                gettext support

--with-gmp                    Include GNU MP support.

--disable-hash                enable hash support

--with-mhash                  mhash support

--without-iconv               iconv support

--with-imap                   IMAP Support

--with-interbase              InterBase support

--enable-intl                 Enable internationalization support

使用ICU库提供软件Unicode 和 Globalization支持,http://site.icu-project.org/

--disable-json                Javascript Object Serialization support

--with-ldap                   LDAP support

--enable-mbstring             multibyte string functions

--enable-mbregex              multibyte regex support

--disable-mbregex-backtrack   check multibyte regex backtrack

--with-mcrypt                 mcrypt support

--with-mssql                  mssql support

--with-dblib                  mssql support with freetds

--without-mysqlnd             Mysql Native Client Driver

--with-oci8                   OCI8 support

--with-oci8-11g               OCI8 support using Oracle 11g Instant C

--disable-odbc                ODBC support

--with-openssl                OpenSSL support

--with-pgsql                  PostgreSQL support

--with-pspell                 pspell/aspell (whatever it's called thi

month) support

--disable-session             session support

--enable-shmop                shmop support

--with-snmp                   SNMP support

--enable-sockets              SOCKETS support

--with-sqlite3                SQLite 3 support

--with-config-file-scan-dir   Dir to check for additional php ini fil

--with-sybase-ct              SYBASE_CT support

--with-tidy                   TIDY support

--disable-tokenizer           tokenizer support

--disable-zip                 ZIP support

--disable-zlib                ZLIB support

--without-libxml              LibXML support

--without-dom                 DOM support

--enable-exif                 exif

--with-mysql                  MySQL support

--with-mysqli                 MySQLi support

--enable-pdo                  Enable PHP Data Objects support

--with-pdo-dblib              freetds dblib (Sybase, MS-SQL) support

--with-pdo-mssql              Native MS-SQL support for PDO

--with-pdo-firebird           Firebird support for PDO

--with-pdo-mysql              MySQL support for PDO

--with-pdo-oci                Oracle OCI support for PDO

--with-pdo-odbc               ODBC support for PDO

--with-pdo-pgsql              PostgreSQL support for PDO

--with-pdo-sqlite             for pdo_sqlite support

--with-pdo-sqlite-external    for pdo_sqlite support from an external

--disable-phar                disable phar support

--enable-phar-native-ssl      enable phar with native OpenSSL support

--without-simplexml           Simple XML support

--enable-soap                 SOAP support

--with-sqlite                 SQLite support

--without-wddx                WDDX support

--without-xml                 XML support

--disable-xmlreader           XMLReader support

--with-xmlrpc                 XMLRPC-EPI support

--disable-xmlwriter           XMLWriter support

--with-xsl                    xsl support



推荐阅读
  • 本文介绍了lua语言中闭包的特性及其在模式匹配、日期处理、编译和模块化等方面的应用。lua中的闭包是严格遵循词法定界的第一类值,函数可以作为变量自由传递,也可以作为参数传递给其他函数。这些特性使得lua语言具有极大的灵活性,为程序开发带来了便利。 ... [详细]
  • HDU 2372 El Dorado(DP)的最长上升子序列长度求解方法
    本文介绍了解决HDU 2372 El Dorado问题的一种动态规划方法,通过循环k的方式求解最长上升子序列的长度。具体实现过程包括初始化dp数组、读取数列、计算最长上升子序列长度等步骤。 ... [详细]
  • 2018年人工智能大数据的爆发,学Java还是Python?
    本文介绍了2018年人工智能大数据的爆发以及学习Java和Python的相关知识。在人工智能和大数据时代,Java和Python这两门编程语言都很优秀且火爆。选择学习哪门语言要根据个人兴趣爱好来决定。Python是一门拥有简洁语法的高级编程语言,容易上手。其特色之一是强制使用空白符作为语句缩进,使得新手可以快速上手。目前,Python在人工智能领域有着广泛的应用。如果对Java、Python或大数据感兴趣,欢迎加入qq群458345782。 ... [详细]
  • 本文讨论了如何优化解决hdu 1003 java题目的动态规划方法,通过分析加法规则和最大和的性质,提出了一种优化的思路。具体方法是,当从1加到n为负时,即sum(1,n)sum(n,s),可以继续加法计算。同时,还考虑了两种特殊情况:都是负数的情况和有0的情况。最后,通过使用Scanner类来获取输入数据。 ... [详细]
  • 本文主要解析了Open judge C16H问题中涉及到的Magical Balls的快速幂和逆元算法,并给出了问题的解析和解决方法。详细介绍了问题的背景和规则,并给出了相应的算法解析和实现步骤。通过本文的解析,读者可以更好地理解和解决Open judge C16H问题中的Magical Balls部分。 ... [详细]
  • 知识图谱——机器大脑中的知识库
    本文介绍了知识图谱在机器大脑中的应用,以及搜索引擎在知识图谱方面的发展。以谷歌知识图谱为例,说明了知识图谱的智能化特点。通过搜索引擎用户可以获取更加智能化的答案,如搜索关键词"Marie Curie",会得到居里夫人的详细信息以及与之相关的历史人物。知识图谱的出现引起了搜索引擎行业的变革,不仅美国的微软必应,中国的百度、搜狗等搜索引擎公司也纷纷推出了自己的知识图谱。 ... [详细]
  • 本文介绍了作者在开发过程中遇到的问题,即播放框架内容安全策略设置不起作用的错误。作者通过使用编译时依赖注入的方式解决了这个问题,并分享了解决方案。文章详细描述了问题的出现情况、错误输出内容以及解决方案的具体步骤。如果你也遇到了类似的问题,本文可能对你有一定的参考价值。 ... [详细]
  • 动态规划算法的基本步骤及最长递增子序列问题详解
    本文详细介绍了动态规划算法的基本步骤,包括划分阶段、选择状态、决策和状态转移方程,并以最长递增子序列问题为例进行了详细解析。动态规划算法的有效性依赖于问题本身所具有的最优子结构性质和子问题重叠性质。通过将子问题的解保存在一个表中,在以后尽可能多地利用这些子问题的解,从而提高算法的效率。 ... [详细]
  • switch语句的一些用法及注意事项
    本文介绍了使用switch语句时的一些用法和注意事项,包括如何实现"fall through"、default语句的作用、在case语句中定义变量时可能出现的问题以及解决方法。同时也提到了C#严格控制switch分支不允许贯穿的规定。通过本文的介绍,读者可以更好地理解和使用switch语句。 ... [详细]
  • 高质量SQL书写的30条建议
    本文提供了30条关于优化SQL的建议,包括避免使用select *,使用具体字段,以及使用limit 1等。这些建议是基于实际开发经验总结出来的,旨在帮助读者优化SQL查询。 ... [详细]
  • 本文介绍了指针的概念以及在函数调用时使用指针作为参数的情况。指针存放的是变量的地址,通过指针可以修改指针所指的变量的值。然而,如果想要修改指针的指向,就需要使用指针的引用。文章还通过一个简单的示例代码解释了指针的引用的使用方法,并思考了在修改指针的指向后,取指针的输出结果。 ... [详细]
  • 本文介绍了在Windows环境下如何配置php+apache环境,包括下载php7和apache2.4、安装vc2015运行时环境、启动php7和apache2.4等步骤。希望对需要搭建php7环境的读者有一定的参考价值。摘要长度为169字。 ... [详细]
  • Android源码深入理解JNI技术的概述和应用
    本文介绍了Android源码中的JNI技术,包括概述和应用。JNI是Java Native Interface的缩写,是一种技术,可以实现Java程序调用Native语言写的函数,以及Native程序调用Java层的函数。在Android平台上,JNI充当了连接Java世界和Native世界的桥梁。本文通过分析Android源码中的相关文件和位置,深入探讨了JNI技术在Android开发中的重要性和应用场景。 ... [详细]
  • 本文介绍了在多平台下进行条件编译的必要性,以及具体的实现方法。通过示例代码展示了如何使用条件编译来实现不同平台的功能。最后总结了只要接口相同,不同平台下的编译运行结果也会相同。 ... [详细]
  • C++字符字符串处理及字符集编码方案
    本文介绍了C++中字符字符串处理的问题,并详细解释了字符集编码方案,包括UNICODE、Windows apps采用的UTF-16编码、ASCII、SBCS和DBCS编码方案。同时说明了ANSI C标准和Windows中的字符/字符串数据类型实现。文章还提到了在编译时需要定义UNICODE宏以支持unicode编码,否则将使用windows code page编译。最后,给出了相关的头文件和数据类型定义。 ... [详细]
author-avatar
xeyuxing369
这个家伙很懒,什么也没留下!
PHP1.CN | 中国最专业的PHP中文社区 | DevBox开发工具箱 | json解析格式化 |PHP资讯 | PHP教程 | 数据库技术 | 服务器技术 | 前端开发技术 | PHP框架 | 开发工具 | 在线工具
Copyright © 1998 - 2020 PHP1.CN. All Rights Reserved | 京公网安备 11010802041100号 | 京ICP备19059560号-4 | PHP1.CN 第一PHP社区 版权所有