posts - 0,  comments - 20,  trackbacks - 0
CentOS 5.4环境下的php5.3.1手动安装

Cent自带的版本是5.1.16,现下载php5.3.1安装包tar.gz,解压到/usr/local/src中
执行下述命令:
./configure \
          "--prefix=/usr/local/php" \
          "--with-apxs2=/usr/sbin/apxs" \
          "--with-config-file-path=/usr/local/php/etc" \
          "--with-mysql=/usr/local/mysql" \
          "--with-mysqli" \
          "--with-libxml-dir=/usr/lib/libxml" \
          "--with-gd" \
          "--with-pdo-mysql" \
          "--with-pdo-sqlite" \
          "--with-jpeg-dir" \
          "--with-png-dir" \
          "--with-bz2" \
          "--with-pear=/usr/lib/pear" \
          "--with-freetype-dir" \
          "--with-iconv-dir" \
          "--with-zlib-dir " \
          "--with-mcrypt=/usr/lib/libmcrypt" \
          "--enable-sockets" \
          "--enable-soap" \
          "--enable-sqlite-utf8" \
          "--enable-gd-native-ttf" \
          "--enable-ftp" \
          "--enable-mbstring" \
          "--enable-exif" \
          "--disable-ipv6" \
          "--disable-cgi"
posted on 2010-01-18 12:42 Documents 阅读(583) 评论(0)  编辑  收藏 所属分类: LinuxlampphpCentOS

只有注册用户登录后才能发表评论。


网站导航:
 
<2024年11月>
272829303112
3456789
10111213141516
17181920212223
24252627282930
1234567

留言簿

文章分类

文章档案

J2EE

搜索

  •  

最新评论