Re: Installing mod_perl when other things are required, too.

2000-04-24 Thread Vivek Khera

 "FA" == Forrest Aldrich [EMAIL PROTECTED] writes:

FA simple ./configure --switch to enable them.   I didn't see anything for 
FA mod_perl in the INSTALL, and it seemed there were a lot of manual things to 
FA be done, which made me think I wasn't reading it correctly.

FA What's the magic incantation?

Um, I pretty much do "perl Makefile.PL; gmake install" and then go
over to apache's src directory and type "make install".

If you need anything more complex, then you add options to the "perl
Makefile.PL" step.

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Vivek Khera, Ph.D.Khera Communications, Inc.
Internet: [EMAIL PROTECTED]   Rockville, MD   +1-301-545-6996
PGP  MIME spoken herehttp://www.kciLink.com/home/khera/



Installing mod_perl when other things are required, too.

2000-04-23 Thread Forrest Aldrich

I couldn't find a faq on this one.

I need to also install apache with php and mod_ssl.   Those two require a 
simple ./configure --switch to enable them.   I didn't see anything for 
mod_perl in the INSTALL, and it seemed there were a lot of manual things to 
be done, which made me think I wasn't reading it correctly.

What's the magic incantation?


TIA




Re: Installing mod_perl when other things are required, too.

2000-04-23 Thread Matt Sergeant

On Sat, 22 Apr 2000, Forrest Aldrich wrote:

 I couldn't find a faq on this one.
 
 I need to also install apache with php and mod_ssl.   Those two require a 
 simple ./configure --switch to enable them.   I didn't see anything for 
 mod_perl in the INSTALL, and it seemed there were a lot of manual things to 
 be done, which made me think I wasn't reading it correctly.
 
 What's the magic incantation?

Install mod_perl first, making sure you enable mod_so.
Then php should just install fine as a dso. I'm not sure about mod_ssl
though - I think it has to patch the Apache source. I'm almost certain
this is covered in one of the INSTALL.foo documents.

-- 
Matt/

Fastnet Software Ltd. High Performance Web Specialists
Providing mod_perl, XML, Sybase and Oracle solutions
Email for training and consultancy availability.
http://sergeant.org http://xml.sergeant.org




Re: Installing mod_perl when other things are required, too.

2000-04-23 Thread Richard Dice

 I need to also install apache with php and mod_ssl.   Those two require a
 simple ./configure --switch to enable them.   I didn't see anything for
 mod_perl in the INSTALL, and it seemed there were a lot of manual things to
 be done, which made me think I wasn't reading it correctly.
 
 What's the magic incantation?

There isn't a magic incantation, and there is a lot of stuff that has
to be done manually.

Stas' mod_perl Guide is your friend:
  http://perl.apache.org/guide/install.html#Installation_Scenarios_for_mod_p

You won't find something describing your exaction situation here, but
this should give you a leg up.  mod_php should have an option that allows
it to be created as a (guess what) module to be added to the web server
(rather than an integrated build procedure, like what mod_perl does with
DO_HTTPD = 1).  I expect that you could then treat that module similarly
with how you take care of the modules as described with the URL above.

However, you might find that throwing all 3 of those modules into Apache
will create for you a bloated beast of a server.  If conserving memory is
at all important to you, then you should take a look at the recent thread
that went on on this list, "[RFC] Do Not Run Everything on One mod_perl
Server":
  http://forum.swarthmore.edu/epigone/modperl/floivonmel
The concepts discussed here could help you manage your memory more effectively
(though you'll have to come up with the implementation yourself).

Cheers,
Richard
 

 Richard Dice * Personal 514 816 9568 * Fax 514 816 9569
 ShadNet Creator * http://shadnet.shad.ca/ * [EMAIL PROTECTED]
 Occasional Writer, HotWired * http://www.hotwired.com/webmonkey/
 "squeeze the world 'til it's small enough to join us heel to toe"
 - jesus jones



Re: Installing mod_perl when other things are required, too.

2000-04-23 Thread JoshNarins

If you get the CVS version of mod_perl it has a 
INSTALL.simple.ssl file. If you pick up mod_ssl from
Engelschall's site it comes with the same INSTALL.ssl
file. Both files (which are identical) have build 
instructions for what you need near the bottom.

However, just as a note, they aren't as clear if you
want to do it DSO. It seems though, that all one need
do is add USE_DSO=1 to the mod_perl stage and drop the
APACI and APXS references. Then, when you get to making
Apache, in addition to defining SSL_BASE and the vars
for EAPI_MM and RSA_BASE, add the configure option for
--enable-shared=all.





Re: Installing mod_perl when other things are required, too.

2000-04-23 Thread shane

On Sun, Apr 23, 2000 at 11:03:01AM +0100, Matt Sergeant wrote:
 On Sat, 22 Apr 2000, Forrest Aldrich wrote:
 
  I couldn't find a faq on this one.
  
  I need to also install apache with php and mod_ssl.   Those two require a 
  simple ./configure --switch to enable them.   I didn't see anything for 
  mod_perl in the INSTALL, and it seemed there were a lot of manual things to 
  be done, which made me think I wasn't reading it correctly.
  
  What's the magic incantation?
 
 Install mod_perl first, making sure you enable mod_so.
 Then php should just install fine as a dso. I'm not sure about mod_ssl
 though - I think it has to patch the Apache source. I'm almost certain
 this is covered in one of the INSTALL.foo documents.

Just install the SSL patch first, and then do what Matt said and
everything should work fine.  I have a similar config over here.

Thanks,
Shane.