compile php 5.4

原先的字串

./configure --prefix=/usr/local/php --with-apxs2=/usr/local/apache2/bin/apxs --enable-zip --enable-calendar --with-mysql=/usr/local/mysql --with-pdo-mysql=/usr/local/mysql --with-iconv=/usr/local/libiconv --with-curl=/usr/local/curl --with-gd=/usr/local/gd2 --with-jpeg-dir=/usr/local/jpeg6 --with-png-dir=/usr/local/libpng --with-zlib --with-freetype-dir=/usr/local/freetype --enable-soap --enable-sockets --with-mcrypt=/usr/local/libmcrypt --with-mhash=/usr/local/mhash --with-zlib --enable-track-vars --enable-ftp --with-openssl --enable-dba=shared --with-libxml-dir --with-gettext --enable-gd-native-ttf --with-openssl

修改后的字串:

./configure --prefix=/usr/local/php --with-apxs2=/usr/local/apache2/bin/apxs --enable-zip --enable-calendar --with-mysql=/usr/local/mysql --with-pdo-mysql=/usr/local/mysql  --with-curl --with-gd=/usr/local/gd2 --with-png --with-zlib --with-freetype --enable-soap --enable-sockets --with-mcrypt=/usr/local/libmcrypt --with-mhash --with-zlib --enable-track-vars --enable-ftp --with-openssl --enable-dba=shared --with-libxml-dir --with-gettext --enable-gd-native-ttf --with-openssl --enable-mbstring

上面是我装5.3.2的

php5.2的

./configure --prefix=/usr/local/php --with-freetype-dir=/usr/local/freetype --with-apxs2=/usr/local/apache2/bin/apxs --with-config-file-path=/usr/local/php/etc --with-mysql=/usr/local/mysql --with-gd=/usr/local/gd --with-jpeg-dir=/usr/local/jpeg7 --with-png-dir=/usr/local/png --with-bz2 --with-mcrypt --with-mhash --with-curl=/usr/local/curl --enable-soap --enable-gd-native-ttf --enable-mbstring --disable-cgi --disable-cli --enable-soap --enable-sockets

# ./configure --prefix=/usr/local/php --with-apxs2=/usr/local/apache2/bin/apxs(注意这个编译参数好吗?对应上面的httpd安装目录是/usr/local/apache2)

时间: 2024-08-04 14:11:52

compile php 5.4的相关文章

My first makefile to compile multiple C files

I have three files to compile: main.c, func.c,  func.h The steps: 1   main.c   to   main.o 2   func.c    to   func.o 3    link main.o func.o to main(file that can execute) So, u need to run at least three commands without a Makefile.Then if u have 10

Maven异常_02_compile faile_Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.2:compile (default-compile) on project

异常:Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.2:compile (default-compile) on project 原因:(1)可能给eclipse配了一个jre而不是jdk,(2)可能是jdk版本过低 解决:window->preferences->java->installed JREs ,发现配了一个假的jdk,它是一个jre........ 配上一个jdk后,问题就解决

re模块中的compile函数

compile compile(pattern,flag=0) compile a regular expression pattern,return a pattern object compile就像一个漏斗,指定漏斗规则,如三角形通过,圆形通过,字母通过,汉字通过等等,具体漏什么东西(str数值),可以使用的时候再决定 myCompile = re.compile('d')#指定漏斗规则 re.compile是个函数,但是返回值是个类,一个过滤方法的类,实例化后就可以用来过滤东西 mySt

AngularJS指令中的compile与link函数解析

AngularJS指令中的compile与link函数解析 通常大家在使用ng中的指令的时候,用的链接函数最多的是link属性,下面这篇文章将告诉大家complie,pre-link,post-link的用法与区别. 原文地址 angularjs里的指令非常神奇,允许你创建非常语义化以及高度重用的组件,可以理解为web components的先驱者. 网上已经有很多介绍怎么使用指令的文章以及相关书籍,相互比较的话,很少有介绍compile与link的区别,更别说pre-link与post-lin

directive(指令里的)的compile,pre-link,post-link,link,transclude

The nitty-gritty of compile and link functions inside AngularJS directives  The nitty-gritty of compile and link functions inside AngularJS directives part 2: transclusion [译]ng指令中的compile与link函数解析 AngularJS directives are amazing. They allow you to

angularjs指令中的compile详解

篇文章主要介绍了angularjs指令中的compile与link函数详解,本文同时诉大家complie,pre-link,post-link的用法与区别等内容,需要的朋友可以参考下 通常大家在使用ng中的指令的时候,用的链接函数最多的是link属性,下面这篇文章将告诉大家complie,pre-link,post-link的用法与区别. angularjs里的指令非常神奇,允许你创建非常语义化以及高度重用的组件,可以理解为web components的先驱者. 网上已经有很多介绍怎么使用指令的

How To Compile Qt with Visual Studio 2010

This post is a step-by-step guide on how to compile Qt 4.x.x with MSVC 2010. Although we use Qt 4.7.1 as an example (for historical reasons), you can also find suggestions on building newer versions of Qt by MSVC 2012 and even by Intel Compiler for b

angularjs compile vs link

https://docs.angularjs.org/guide/directive https://docs.angularjs.org/api/ng/service/$compile https://docs.angularjs.org/guide/compiler https://docs.angularjs.org/api/ng/service/$interpolate https://docs.angularjs.org/api/ng/provider/$compileProvider

maven 加入json-lib.jar 报错 Missing artifact net.sf.json-lib:json-lib:jar:2.4:compile

pom.xml 内容: [html] view plaincopy <dependency> <groupId>net.sf.json-lib</groupId> <artifactId>json-lib</artifactId> <version>2.4</version> </dependency> 报错误:Missing artifact net.sf.json-lib:json-lib:jar:2.4:

openwrt sdk compile

recently ,bought a router : tl-wr741n-v5 hd my aim : let the router dail in neetkeeper environment : unbuntu linux 14.04 1  compile openwrt sudo apt-get update sudo apt-get install gcc sudo apt-get install g++ sudo apt-get install binutils sudo apt-g