YSQL-1.0.2
/usr/local/web_server/php5/bin/phpize
./configure --prefix=/usr/local/web_server/ --with-php-config=/usr/local/web_server/php5/bin/php-config --with-pdo-pgsql=/usr/local/web_server/pgsql/
make
make install
tar zxvf ImageMagick.tar.gz
cd ImageMagick-6.5.1-2/
./configure --prefix=/usr/local/web_server/
make
make install
tar zxvf imagick-2.3.0.tgz
cd imagick-2.3.0/
/usr/local/web_server/php5/bin/phpize
./configure --prefix=/usr/local/web_server/ --with-php-config=/usr/local/web_server/php5/bin/php-config --with-imagick=/usr/local/web_server/
make
make install
wget http://www.ftphp.com/scws/down/scws-dict-chs-utf8.tar.bz2
wget http://www.ftphp.com/scws/down/scws-dict-chs-gbk.tar.bz2
tar jxvf scws-1.1.3.tar.bz2
cd scws-1.1.3
./configure --prefix=/usr/local/web_server/scws
make
make install
cd /usr/local/src
tar jxvf scws-dict-chs-utf8.tar.bz2 -C /usr/local/web_server/scws/etc/
tar jxvf scws-dict-chs-gbk.tar.bz2 -C /usr/local/web_server/scws/etc/
cd scws-1.1.3/phpext/
/usr/local/web_server/php5/bin/phpize
./configure --with-scws=/usr/local/web_server/scws/ --with-php-config=/usr/local/web_server/php5/bin/php-config
make
make install
6、安装Nginx
tar zxvf pcre-8.10.tar.gz
cd pcre-8.10
./configure --prefix=/usr/local/web_server/pcre
make
make install
cp -r ../pcre-8.10 /usr/local/web_server/pcre/
tar zxvf google-perftools-0.98.tar.gz
cd google-perftools-0.98
./configure --prefix=/usr/local/web_server/google-perftools --enable-frame-pointers
make
make install
cp /usr/local/web_server/google-perftools/lib/* /usr/lib/
/usr/sbin/groupadd www
/usr/sbin/useradd -g www www
tar zxvf nginx-0.8.36.tar.gz
cd nginx-0.8.36/
./configure --prefix=/usr/local/web_server/nginx --user=www --group=www --with-http_stub_status_module --with-http_ssl_module --with-pcre=/usr/local/web_server/pcre/pcre-8.10/ --with-google_perftools_module(动态机器)
--prefix=/usr/local/nginx --user=www --group=www --with-http_stub_status_module --with-http_ssl_module --with-pcre=/usr/local/web_server/pcre/pcre-8.10/ --with-google_perftools_module --with-http_perl_module --with-debug(静态机器)
make && make install
|