View Full Version : installing mod_perl
Brendan
2003-09-12, 21:20 PM
Does anyone have any experience installing mod_perl on SB Red Hat servers?
Any special got-yas or advice you'd like to pass on?
Originally posted by Brendan
Does anyone have any experience installing mod_perl on SB Red Hat servers?
Any special got-yas or advice you'd like to pass on?
There should be a RH standard install of mod_perl already. You should check before you try installing your own version. :)
Brendan
2003-09-12, 21:39 PM
There should be a RH standard install of mod_perl already. You should check before you try installing your own version.
RH probably does have an RPM/etc of mod_perl and I'll probably use it. But mod_perl doesnt usually come on the standard load and has to be loaded seperately.
But my experience has been that mod_perl is never fun to install and configure. I was curious if anyone had tried it with SB machines and if they'd run into any problems.
knightfoo
2003-09-12, 21:46 PM
All of the ServerBeach RedHat servers have mod_perl installed by default. This is one of the packages that was explicitly added because it is fairly popular. Here are the versions that get installed as of now:
RedHat 7.2 - mod_perl-1.26-2
RedHat 7.3 - mod_perl-1.26-5
RedHat 8.0 - mod_perl-1.99_05-3
RedHat 9 - mod_perl-1.99_07-5
You're right about mod_perl not being much fun to install or configure, so I recommend sticking with the packages. I've done it once in combination with PHP and a custom apache installation and I'm sure I lost some hair over it.
-knightfoo
charlie
2003-09-12, 23:46 PM
knightfoo...
am i right in saying that this doesn't apply to control panels? i am pretty sure that my cpanel install didn't include mod_perl. i recently had a heck of a time trying to get it installed, but eventually just opted for the easy way out and CPAN installed Apache::ASP since mod_perl is required by it and it wouldn't be bad to have the ASP module anyway. =)
knightfoo
2003-09-13, 09:27 AM
The funny thing is that the mod_perl RPM is installed on cPanel (and all over control panel) servers. However, cPanel builds a custom version of Apache which does not use the RPM version of mod_perl. You will have to check the configuration yourself in order to tell if mod_perl is enabled. If you look in /usr/local/apache/logs/error_log after a restart it will tell you what modules are loading. You can also log in through SSH and run this command:
lynx -source -head http://localhost/
This will also provide a list of modules which are loading into Apache.
-knightfoo
vBulletin® v3.6.8, Copyright ©2000-2008, Jelsoft Enterprises Ltd.