Invalid command ‘PerlHandler’ – PerlHandler ModPerl::Registry
Posted on February 4th, 2008 by linux
Apache complains on the restart:
/etc/init.d/apache2 restart
Forcing reload of web server (apache2)…Syntax error on line 48 of /etc/apache2/sites-enabled/000-default:
Invalid command ‘PerlHandler’, perhaps misspelled or defined by a module not included in the server configuration
failed!
Have a look what perlhandler it is in apache config file. In this case apache was missing : ModPerl::Registry .
Solution to this is to install package:
libapache2-mod-perl2 – Integration of perl with the Apache2 web server
apt-get install libapache2-mod-perl2
Filed under: Administration, Debian, Linux, Perl