• 解决安装oracle10g后,xampp无法启动apache的问题


    如果在安装xampp1.7.2之前您已经安装了oracle10g的话,那么安装xampp1.7.2后就会出现无法启动apache的问题,表现为在xampp的控制面板点击Start后,无法出现Running提示,Admin…按钮一直是灰的,即使在windows的服务管理器里启动也会出现“windows不能在本地计算机启动apache2”的提示,查看xampp安装目录的apache\logs\下的error.log文件时,您会找到如下一段代码:

    [Sun May 01 22:22:13 2011] [error] Attempt to reload DynaLoader.pm aborted.\nCompilation failed in require at D:/xampp/perl/site/lib/ModPerl/Const.pm line 18.\nBEGIN failed–compilation aborted at D:/xampp/perl/site/lib/ModPerl/Const.pm line 18.\nCompilation failed in require at D:/xampp/perl/site/lib/Apache2/Const.pm line 18.\nBEGIN failed–compilation aborted at D:/xampp/perl/site/lib/Apache2/Const.pm line 18.\nCompilation failed in require at D:/xampp/apache/conf/extra/startup.pl line 9.\nBEGIN failed–compilation aborted at D:/xampp/apache/conf/extra/startup.pl line 9.\nCompilation failed in require at (eval 2) line 1.\n[Sun May 01 22:22:13 2011] [error] Can’t load Perl file: D:/xampp/apache/conf/extra/startup.pl for server localhost:80, exiting…

    根据提示我们可以发现,错误是加载perl组件的时候发生异常了,具体原因xampp的官方论坛有人提到是因为oracle10g本身也安装了相应的perl模块,所以出现冲突现象。

    xampp官方的bugs库中提出了具体的解决方案:

    就是在xampp安装目录\apache\conf\extra\目录下的httpd-perl.conf文件中的LoadModule perl_module modules/mod_perl.so的代码前增加以下代码:PerlSwitches -T

    保存后再在xmapp控制面板中启动apache的时候,出现Running提示,同时Admin…按钮也可以操作了。问题解决成功!

     

  • 相关阅读:
    asp.net字符串分割函数用法
    Nginx启动/重启脚本详解
    jQuery获取对象简单实现方法
    python字符串格式化之学习笔记
    asp.net中Winform开发框架之数据即时更新的实现
    Nginx错误提示:504 Gateway Time-out解决方法
    实用的php购物车程序
    sql datalength与len区别用法
    异步加载js文件的方法总结
    面向对象泛型问题
  • 原文地址:https://www.cnblogs.com/aiwz/p/6153933.html
Copyright © 2020-2023  润新知