Page 1 of 1

How to disable mod_perl on xampp for linux 1.7.4?

PostPosted: 29. May 2011 20:09
by powerboy
I could not find any perl configuration in /opt/lampp/etc/httpd.conf at all!

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

PostPosted: 29. August 2011 15:44
by JonB
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)