----- Original Message -----
From: Craig Sebenik <[EMAIL PROTECTED]>
To: Li Hong <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Saturday, January 29, 2000 3:44 AM
Subject: Re: problem with configure?
> I think you misunderstood the purpose of the "ADD_MODULE" flag. That
> allows mod_perl to pass some more info to Apache. When you build mod_perl
> it prompts you whether to configure Apache and whether to build it. If you
> want to biuld Apache with support for other 3rd pary stuff (like PHP), and
> you want the mod_perl proces to build it, then you need to pass that info
> along. This appears to be done via the "ADD_MODULE" flag.
Well,I build apache with php and mod_perl also in my RH 6.0 .What I do is
just simply follow instruction of the README.say,as below:
(after untar&gunzip)
under MOD_PERL_DIR
perl Makefile.PL APACHE_SRC=../apache_1.3.X/src \
DO_HTTPD=1 USE_APACI=1 \
EVERYTHING=1
make
make install
OK,mod_perl installed.
then go to PHP intall php as the README said,
under PHP_DIR
$ ./configure --with-apache=../apache_1.3.X
$ make
$ make install
Now both php and mod_perl is ok,just build apache and tell it include these
2 module.
under Apache_DIR:
/configure --prefix=/path/to/apache \
--activate-module=src/modules/perl/libperl.a \
--activate-module=src/modules/php3/libphp3.a
All is done.No problem at all.I think what you mean is that ADD_MODULE you
used while build apache with mod_perl will also build php? well,I dont
know.Since if you use ADD_MODULE flag,I think it didn't provide any info
about where php source directory is,will Apache know it?
______________________________________________
FREE Personalized Email at Mail.com
Sign up at http://www.mail.com?sr=mc.mk.mcm.tag001