apache2+php+mysql+mod_secu+mod_evasive by irunnet.com[6]

[入库:2006年2月23日] [更新:2007年3月24日]

本文简介:

--enable-expires \
写一个config.sh 只是个人习惯方便今后查看和升级再编译。
# make
# make install

安装php4
$ tar jxvf php-4.4.1.tar.bz2
$ cd php-4.4.1
$ vi config.sh 写入内容:

代码:


#!/bin/bash

PHP_ROOT=/apache2

./configure --prefix=$PHP_ROOT \

            --with-apxs2=$PHP_ROOT/bin/apxs \

            --with-mysql=/usr/local/mysql \

            --enable-mbstring \

            --with-curl \

            --enable-debug \

            --enable-inline-optimization -q \

            --with-jpeg-dir=/usr/local/ \

            --with-png-dir \

            --enable-thread-safety \

            --enable-ctype \

本文关键:apache2+php+mysql+mod_secu+mod_evasive by irunnet.com
 

本站最佳浏览方式为 分辨率 1024x768 IE 6.0(或更高版本的 IE浏览器)

go top