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 阅读(575) 评论(0)  编辑  收藏 所属分类: LinuxlampphpCentOS

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


网站导航:
 
<2024年4月>
31123456
78910111213
14151617181920
21222324252627
2829301234
567891011

留言簿

文章分类

文章档案

J2EE

搜索

  •  

最新评论