mod_perl und apache 1.3.29 problem
Posted: 2004-03-25 01:02
habe apache mod mod_ssl und mod_perl so installiert.
LAMP_SRC="/downloads/LAMP";
APACHE_SRC="/downloads/LAMP/apache_1.3.29";
#Mod_ssl
cd $LAMP_SRC/mod_ssl-2.8.16-1.3.29
CFLAGS="-I/usr/kerbeos/include" ./configure --prefix=/usr/local/apache --with-apache=$APACHE_SRC --with-ssl=/usr
#mod_perl
cd $LAMP_SRC/mod_perl-1.29
#perl Makefile.PL USE_APACI=1 EVERYTHING=1 SSL_BASE=/usr
perl Makefile.PL USE_APACI=1 EVERYTHING=1 APACHE_SRC=$APACHE_SRC/src SSL_BASE=/usr DO_HTTPD=1
make
make test
make install
OPTIM="-O9 -funroll-loops -ffast-math -malign-double -mcpu=i686 -march=i686 -fomit-frame-pointer -fno-exceptions"
CFLAGS="-DDYNAMIC_MODULE_LIMIT=0"
EAPI_MM=/usr/local/mm-1.3.0
CFLAGS="-I/usr/kerberos/include" SSL_BASE="/usr"
./configure --prefix=/usr/local/apache
--sysconfdir=/etc/httpd/conf
--libexecdir=/usr/lib/apache
--runtimedir=/var/run
--logfiledir=/var/log/httpd
--proxycachedir=/var/cache/httpd
--htdocsdir=/var/www/html/htdocs
--manualdir=/var/www/html/htdocs/manual
--mandir=/usr/man
--server-uid=apache
--server-gid=apache
--enable-module=status
--enable-module=so
--enable-module=most
--enable-module=auth_digest
--enable-shared=max
--enable-shared=ssl
--enable-module=ssl
--enable-rule=EAPI
make
make certificate
make install
Ein kleiner test
[root]# /usr/local/apache/bin/httpd -l
Compiled-in modules:
http_core.c
mod_so.c
suexec: disabled; invalid wrapper /usr/local/apache/bin/suexec
ich sehe hier kein mod_perl.c heisst das das mod_perl nicht funktioniert hat?
LAMP_SRC="/downloads/LAMP";
APACHE_SRC="/downloads/LAMP/apache_1.3.29";
#Mod_ssl
cd $LAMP_SRC/mod_ssl-2.8.16-1.3.29
CFLAGS="-I/usr/kerbeos/include" ./configure --prefix=/usr/local/apache --with-apache=$APACHE_SRC --with-ssl=/usr
#mod_perl
cd $LAMP_SRC/mod_perl-1.29
#perl Makefile.PL USE_APACI=1 EVERYTHING=1 SSL_BASE=/usr
perl Makefile.PL USE_APACI=1 EVERYTHING=1 APACHE_SRC=$APACHE_SRC/src SSL_BASE=/usr DO_HTTPD=1
make
make test
make install
OPTIM="-O9 -funroll-loops -ffast-math -malign-double -mcpu=i686 -march=i686 -fomit-frame-pointer -fno-exceptions"
CFLAGS="-DDYNAMIC_MODULE_LIMIT=0"
EAPI_MM=/usr/local/mm-1.3.0
CFLAGS="-I/usr/kerberos/include" SSL_BASE="/usr"
./configure --prefix=/usr/local/apache
--sysconfdir=/etc/httpd/conf
--libexecdir=/usr/lib/apache
--runtimedir=/var/run
--logfiledir=/var/log/httpd
--proxycachedir=/var/cache/httpd
--htdocsdir=/var/www/html/htdocs
--manualdir=/var/www/html/htdocs/manual
--mandir=/usr/man
--server-uid=apache
--server-gid=apache
--enable-module=status
--enable-module=so
--enable-module=most
--enable-module=auth_digest
--enable-shared=max
--enable-shared=ssl
--enable-module=ssl
--enable-rule=EAPI
make
make certificate
make install
Ein kleiner test
[root]# /usr/local/apache/bin/httpd -l
Compiled-in modules:
http_core.c
mod_so.c
suexec: disabled; invalid wrapper /usr/local/apache/bin/suexec
ich sehe hier kein mod_perl.c heisst das das mod_perl nicht funktioniert hat?