#!/bin/sh
# @author Joe Wang
#
tar zxvf apache_1.3.41.tar.gz
tar zxvf mod_perl-1.31.tar.gz
#########################################
cd /usr/local/src
cd mod_perl-1.31
perl Makefile.PL APACHE_SRC=/usr/local/src/apache_1.3.41/src/ DO_HTTPD=1 USE_APACI=1 EVERYTHING=1 APACI_ARGS='--enable-module=rewrite --enable-module=so --enable-module=expires'
#perl Makefile.PL APACHE_PREFIX=/usr/local/httpd80 APACHE_SRC=/usr/local/src/apache_1.3.41/src/ DO_HTTPD=1 USE_APACI=1 EVERYTHING=1 APACI_ARGS='--enable-module=rewrite --enable-module=so --enable-module=expires'
make
make install
########################################
cd /usr/local/src
cd apache_1.3.41
#./configure --prefix=/usr/local/httpd80 --enable-module=so --enable-module=most --enable-shared=max --enable-module=rewrite
./configure --prefix=/usr/local/httpd80 --enable-module=so --enable-module=most --enable-shared=max --enable-module=rewrite --activate-module=src/modules/perl/libperl.a
make
make install
apache1.3.4 & mod_perl & mod_ssl
最新推荐文章于 2020-09-21 09:06:17 发布