--enable-expires \
写一个config.sh 只是个人习惯方便今后查看和升级再编译。
# make
# make install
安装php4
$ tar jxvf php-
$ cd php-4.4.1
$ vi config.sh 写入内容:
代码: |
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
相关方案
|