How to disable mod_perl on xampp for linux 1.7.4?

Problems with the Linux version of XAMPP, questions, comments, and anything related.

How to disable mod_perl on xampp for linux 1.7.4?

Postby powerboy » 29. May 2011 20:09

I could not find any perl configuration in /opt/lampp/etc/httpd.conf at all!
powerboy
 
Posts: 1
Joined: 29. May 2011 20:05

Re: How to disable mod_perl on xampp for linux 1.7.4?

Postby JonB » 29. August 2011 15:44

Look in:

/opt/lampp/etc/extra/httpd-xampp.conf

comment these directives out

Code: Select all
# since LAMPP 0.9.8:
# LoadModule perl_module        modules/mod_perl.so


Code: Select all
# since 0.9.8 we've mod_perl
#<IfModule mod_perl.c>
#        AddHandler perl-script .pl
#   PerlHandler ModPerl::PerlRunPrefork
#   PerlOptions +ParseHeaders
#       PerlSendHeader On
#</IfModule>
>


be sure add a shebang line to any perl scripts
#! opt/lampp/bin/perl

Check the 'Guest Book' program on XAMPP Page, should still work. Point your browser to a non-existent page on localhost and check the Server Signature, mod_perl should no longer be in the sig.

Good Luck
8)
User avatar
JonB
AF Moderator
 
Posts: 3210
Joined: 12. April 2010 16:41
Location: Land of the Blazing Sun
XAMPP Version: 1.8.3-2
Operating System: Windows XP/7 - Fedora 15 1.7.7


Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 4 guests