找回密码
 立即注册

QQ登录

只需一步,快速开始

查看: 10396|回复: 0

php5.6.9编译安装手迹

[复制链接]
发表于 2015-5-22 15:22:42 | 显示全部楼层 |阅读模式
环境准备:
7 m" r9 }9 F. O$ t, y' z3 eyum groupinstall "Development tools"$ B$ L6 C, h- w  o6 m+ C0 B. \& J4 x) K
yum install libxml2-devel gd-devel libmcrypt-devel libcurl-devel openssl-devel6 }7 E9 E2 g0 e6 D  w4 J
  b7 l% Q$ w  h% |0 K( z3 M
软件包:* A# F0 D/ T9 p
wget http://us3.php.net/get/php-5.6.9.tar.gz/from/cn2.php.net/mirror
6 b$ {  B. Z  [) s1 x7 B" atar -xvf php-5.6.9.tar.gz
( a, E2 |: m4 r: o8 J7 Gcd php-5.6.9
6 h, B( D' G( U% c" W+ {0 \8 S7 ^. X' q
编译安装 php 5.6.9 的参数:% E! v  s+ J  w1 `* G

7 s& [  R; x  _9 N4 |1 ]+ G, R7 i
[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

, O: U! @/ h/ F6 I
( |# K9 u, A& [: U, Nmake; s% F1 b/ U9 W$ K
make install: D& C# q9 k: k
--enable-maintainer-zts  此句意思有线程安全版本,开启后ZendGuardLoader不能使用!" ]0 }5 P7 k# j7 z
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

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

GMT+8, 2025-7-18 22:32 , Processed in 0.073320 second(s), 20 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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