> -----Original Message-----
> From: Ian C.Sison [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, June 20, 2000 11:41 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [plug] mod_perl support for apache
>
>
> mod_perl is the apache "module" for using perl scripts inside
> apache ala-cgi.
> mod_php3 is the apache "module" for using php programs in apache.
>
> Don't confuse the two. \8)
>
> to find out if mod_perl/mod_php3 are compiled into apache, do
> an 'httpd -l'
>
> Else if mod_perl is a DSO (not recommended) or mod_php3 is a
> DSO, you have to
> 'Loadmodule' it in httpd.conf.
Nakita ko na ang problemang ginawa ko. I made a DO_HTTPD=1 in mod_perl. This
creates a httpd binary in apache src. Kapag pumasok ako ng apache src tree,
I still execute make and make install. So, kapag ganito, nasisira ang httpd
binary ko. Panibagong httpd na naman. According to the docs, if we are going
to use DO_HTTPD=1 as a paramter for perl Makefile.PL, all we have to do in
apache src is make install. There is another technique in installing
mod_perl. This technique also allows you to add third party modules.
I used this parameters:
cd mod_perl-x.xx
$ perl Makefile.PL \
APACHE_SRC=../apache_1.3.12/src \
NO_HTTPD=1 \
USE_APACI=1\
PREP_HTTPD=1 \
EVERYTHING=1
$ make
$ make install
$ cd apache_x.x.x
$ .configure \
--prefix=/usr/local/apache \
--activate-module=src/modules/perl/libperl.a \
--activate-module=src/modules/php4/libphp4.a
$ make
$ make install
I guess, this would help a little with other PLUGgers building mod_perl and
apache from scratch.
Ronneil Camara [EMAIL PROTECTED]
One Consulting Group Phone: (63)2 6354086
IT Consultant Mobile: (63)917 5326993
___ _ _ ( ) ___ ___ __ _ _ _ __ _ _ _ __ _
/ _ \| ' \| |/ -_) / _ / _` | \ / |/ _` | `_/ _` |
\___/|_||_|_|\___| \___\__,_|_|'|_|\__,_|_| \__,_|
-
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]