找回密码
 立即注册

QQ登录

只需一步,快速开始

查看: 12856|回复: 0

php5.6.9编译安装手迹

[复制链接]
发表于 2015-5-22 15:22:42 | 显示全部楼层 |阅读模式
环境准备:
, v6 _9 s- \6 f: Zyum groupinstall "Development tools"$ U4 z2 K! M- M0 o; H  i
yum install libxml2-devel gd-devel libmcrypt-devel libcurl-devel openssl-devel
& f  u. b* q4 A: a3 `) ~$ T8 I: }2 J4 [  o7 c4 U/ E) f) c
软件包:) L: d3 f! {4 z! b  f+ w
wget http://us3.php.net/get/php-5.6.9.tar.gz/from/cn2.php.net/mirror# V* O: d! t" q; y4 m2 V+ _
tar -xvf php-5.6.9.tar.gz7 O+ h7 z3 q6 `! v: ?
cd php-5.6.90 T3 D* j2 r3 S# c
9 x/ F+ P  ?& L- E$ v0 [- }! ~
编译安装 php 5.6.9 的参数:: r- ^- B9 K3 w: b4 |, d
( N$ m& v. C# Q8 u; b* `& H- |0 [
[Bash shell] 纯文本查看 复制代码
./configure --prefix=/webserver/php-5.6.9 --with-config-file-path=/webserver/php-5.6.9/etc --with-mysql=mysqlnd --with-mysqli=mysqlnd --with-pdo-mysql=mysqlnd --with-zlib --with-curl --with-ldap --with-imap --with-kerberos --with-imap-ssl --with-gettext --with-gd --enable-gd-native-ttf --with-freetype-dir --with-jpeg-dir --with-png-dir --with-openssl --with-iconv=/usr/local --with-pcre-dir --with-mhash --with-mcrypt --with-xmlrpc --with-imap --enable-xml --enable-ftp --enable-mbstring --enable-soap --enable-sockets --enable-fpm --enable-zip --disable-debug --enable-calendar --enable-static --enable-inline-optimization --enable-wddx --enable-opcache --enable-bcmath --enable-shmop --enable-sysvsem --enable-mbregex --enable-pcntl --without-pear --enable-ctype

! w" a4 l* i% t; Q
5 `! @6 o5 d. O- G, @9 }0 X8 Umake
/ B3 v( o) F& U' S$ d  N. ?make install3 S' E) i9 J  ^0 I
--enable-maintainer-zts  此句意思有线程安全版本,开启后ZendGuardLoader不能使用!, Z  ^1 H7 U. m! G8 ?) _9 |
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|Archiver|手机版|小黑屋|第一站论坛 ( 蜀ICP备06004864号-6 )

GMT+8, 2026-7-1 02:58 , Processed in 0.069561 second(s), 21 queries .

Powered by Discuz! X3.5

© 2001-2026 Discuz! Team.

快速回复 返回顶部 返回列表