View previous topic :: View next topic |
Author |
Message |
batkins Tux's lil' helper
Joined: 20 May 2003 Posts: 127
|
Posted: Sat Oct 25, 2003 5:49 pm Post subject: Installing mod_perl on Apache 2.0 |
|
|
How do I go about installing mod_perl with Apache2?
I emerged apache (which has been working for a while), and then emerged mod_perl and libperl today. I ran the ebuild config for mod_perl from /var/db/
I can't get Apache to restart now - it claims that it can't find libperl.so.
Any ideas? |
|
Back to top |
|
|
mariux2 Apprentice
Joined: 16 Sep 2003 Posts: 242
|
Posted: Sat Oct 25, 2003 11:44 pm Post subject: |
|
|
I tried but gave up, tell me if you manage to get it working.... |
|
Back to top |
|
|
batkins Tux's lil' helper
Joined: 20 May 2003 Posts: 127
|
Posted: Sun Oct 26, 2003 11:03 pm Post subject: |
|
|
Got it!
Set your USE flags to "-threads" then emerge perl and libperl.
Then set your ACCEPT_KEYWORDS to "~x86" and emerge -p mod_perl. Make sure you're getting mod_perl 1.99. If you are, then emerge mod_perl.
Then open up /etc/apache2/conf/apache2.conf and add this line
LoadModule perlmodule extramodules/mod_perl.so
That should do it. |
|
Back to top |
|
|
thraxil n00b
Joined: 04 Apr 2003 Posts: 46 Location: nyc
|
Posted: Tue Nov 18, 2003 3:05 am Post subject: |
|
|
i think that should be
Code: | LoadModule perl_module extramodules/mod_perl.so |
|
|
Back to top |
|
|
|