如何安装mod_perl以及如何配置它?
通过命令提示符安装mod_perl时出现错误。
这是我输入时遇到的错误:cpan install mod_perl2:
Please provide the location of the Apache directory: C:\xampp\apache
Configuring Apache/2.4.39 mod_perl/2.0.10 Perl/v5.30.0
Use of uninitialized value $httpd_version in string lt at lib/ModPerl/MapUtil.pm line 51.
Checking if your kit is complete...
Looks good
Warning (mostly harmless): No library found for C:/STRAWB~1/cpan/build/mod_perl-2.0.10-5/src/modules/perl/mod_perl.lib
ERROR from evaluation of C:\STRAWB~1\cpan\build\mod_perl-2.0.10-5\Apache-Reload/Makefile.PL: Use of uninitialized value $v in substitution (s///) at Apache-Test/lib/Apache/TestRun.pm line 1100.
Warning: No success on command[C:\Strawberry\perl\bin\perl.exe Makefile.PL]
SHAY/mod_perl-2.0.10.tar.gz
C:\Strawberry\perl\bin\perl.exe Makefile.PL -- NOT OK
Stopping: 'install' failed for 'mod_perl2'.
Failed during this command:
SHAY/mod_perl-2.0.10.tar.gz : writemakefile NO 'C:\Strawberry\perl\bin\perl.exe Makefile.PL' returned status 65280