xampp的apache启动失败

如果机器上安装了oracle10g且安装xampp,apache启动不了,报错如下

[Tue Mar 09 15:09:24 2010] [error] Can't load Perl file: /xampp/apache/conf/extra/startup.pl for server localhost:80, exiting...
[Tue Mar 09 15:10:12 2010] [error] Attempt to reload DynaLoader.pm aborted.\nCompilation failed in require at E:/xampp/perl/site/lib/ModPerl/Const.pm line 18.\nBEGIN failed--compilation aborted at E:/xampp/perl/site/lib/ModPerl/Const.pm line 18.\nCompilation failed in require at E:/xampp/perl/site/lib/Apache2/Const.pm line 18.\nBEGIN failed--compilation aborted at E:/xampp/perl/site/lib/Apache2/Const.pm line 18.\nCompilation failed in require at /xampp/apache/conf/extra/startup.pl line 9.\nBEGIN failed--compilation aborted at /xampp/apache/conf/extra/startup.pl line 9.\nCompilation failed in require at (eval 2) line 1.\n

 

在xampp安装目下的apache/conf/extra/perl.conf文件中的LoadModule perl_module modules/mod_perl.so下面加上PerlSwitches -T 就行了。

你可能感兴趣的:(apache,perl)