Chinaunix首页 | 论坛 | 博客
  • 博客访问: 446598
  • 博文数量: 481
  • 博客积分: 10
  • 博客等级: 民兵
  • 技术积分: 1040
  • 用 户 组: 普通用户
  • 注册时间: 2013-01-06 14:09
文章分类

全部博文(481)

文章存档

2013年(483)

我的朋友

分类: LINUX

2013-02-28 12:48:06

原文地址:编译php 安装php-fpm 作者:jack_sir



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
阅读(171) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~