Chinaunix首页 | 论坛 | 博客
  • 博客访问: 643499
  • 博文数量: 198
  • 博客积分: 4256
  • 博客等级: 上校
  • 技术积分: 1725
  • 用 户 组: 普通用户
  • 注册时间: 2009-12-15 13:12
文章分类

全部博文(198)

文章存档

2012年(12)

2011年(39)

2010年(135)

2009年(12)

我的朋友

分类: LINUX

2010-06-03 18:20:31



sudo tar xzf ../src/php-5.2.13.tar.gz
sudo patch -d php-5.2.13 -p1 < ../src/php-5.2.13-fpm-0.5.13.diff

cd php-5.2.13/
sudo ./configure --prefix=/usr/local/php \
--with-config-file-path=/etc \
--with-mysql=/usr/local/mysql \
--with-mysqli=/usr/local/mysql/bin/mysql_config \
--with-pdo-mysql=/usr/local/mysql/bin/mysql_config \
--with-iconv-dir=/usr/local \
--with-freetype-dir --with-jpeg-dir \
--with-png-dir --with-ttf \
--enable-zip --with-gd \
--with-zlib --enable-sysvsem \
--enable-safe-mode --enable-bcmath \
--enable-shmop --enable-sysvsem \
--enable-fastcgi --enable-fpm \
--with-mcrypt --with-gd \
--disable-debug --disable-rpath --enable-discard-path \
--with-openssl --with-mhash --enable-sockets \
--enable-mbstring --enable-force-cgi-redirect
阅读(662) | 评论(0) | 转发(1) |
给主人留下些什么吧!~~