日期:2014-05-16  浏览次数:21008 次

ubuntu编译安装php5 mysql nginx

ubuntu编译安装php5 mysql nginx
2011年06月07日
  一、首先下载软件源码包
  wget http://sysoev.ru/nginx/nginx-0.8.53.tar.gz
  wget http:/.s135.com/soft/linux/nginx_php/php/php-5.2.10.tar.gz
  wget http:/.s135.com/soft/linux/nginx_php/phpfpm/php-5.2.10-fpm-0.5.11.diff.gz
  wget http:/.s135.com/soft/linux/nginx_php/mysql/mysql-5.1.38.tar.gz
  wget http:/.s135.com/soft/linux/nginx_php/libiconv/libiconv-1.13.tar.gz
  wget http:/.s135.com/soft/linux/nginx_php/mcrypt/libmcrypt-2.5.8.tar.gz
  wget http:/.s135.com/soft/linux/nginx_php/mcrypt/mcrypt-2.6.8.tar.gz
  wget http:/.s135.com/soft/linux/nginx_php/memcache/memcache-2.2.5.tgz
  wget http:/.s135.com/soft/linux/nginx_php/mhash/mhash-0.9.9.9.tar.gz
  wget http:/.s135.com/soft/linux/nginx_php/pcre/pcre-7.9.tar.gz
  wget http:/.s135.com/soft/linux/nginx_php/eaccelerator/eaccelerator-0.9.5.3.tar.bz2
  wget http:/.s135.com/soft/linux/nginx_php/pdo/PDO_MYSQL-1.0.2.tgz
  wget http:/.s135.com/soft/linux/nginx_php/imagick/ImageMagick.tar.gz
  wget http:/.s135.com/soft/linux/nginx_php/imagick/imagick-2.2.2.tgz
  二、安装PHP 5.2.10(FastCGI模式)
  1、首先安装PHP 5.2.10所需的支持库
  tar zxvf libiconv-1.13.tar.gz
  cd libiconv-1.13/
  ./configure