为啥我的 XAMPP Apache 服务不断重启?
Posted
技术标签:
【中文标题】为啥我的 XAMPP Apache 服务不断重启?【英文标题】:Why does my XAMPP Apache service keep restarting?为什么我的 XAMPP Apache 服务不断重启? 【发布时间】:2013-03-25 19:00:12 【问题描述】:由于某种原因,我的 XAMPP Apache 服务不断重启。它是昨天开始的,但我真的找不到原因,因为前一天我对我的电脑做了很多更改(Windows 更新、防病毒更新、安装了新程序等)。
XAMPP 控制面板说它正在运行,但是当我查看 windows 任务管理器中的进程时,我可以看到它每秒都在重新启动,并且 windows 错误报告进程也不断出现(没有任何对话框)。
出于某种原因,我可以访问 xampp 第一个页面(localhost 或 localhost/xampp),但没有其他内容(没有 phpmyadmin 或我放入 htdocs 中的任何其他内容)。我试图重新安装 XAMPP,这也不是每个人都知道的 Skype 问题。我有 Windows 8 专业版。
apache error.log 不断重复:
[Thu Apr 04 00:21:21.237364 2013] [ssl:warn] [pid 260:tid 572] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]
[Thu Apr 04 00:21:21.298371 2013] [mpm_winnt:notice] [pid 260:tid 572] AH00455: Apache/2.4.3 (Win32) OpenSSL/1.0.1c PHP/5.4.7 configured -- resuming normal operations
[Thu Apr 04 00:21:21.298371 2013] [mpm_winnt:notice] [pid 260:tid 572] AH00456: Server built: Aug 18 2012 12:41:37
[Thu Apr 04 00:21:21.298371 2013] [core:notice] [pid 260:tid 572] AH00094: Command line: 'E:\\xampp\\apache\\bin\\httpd.exe -d E:/xampp/apache'
[Thu Apr 04 00:21:21.299372 2013] [mpm_winnt:notice] [pid 260:tid 572] AH00418: Parent: Created child process 3060
[Thu Apr 04 00:21:23.213607 2013] [ssl:warn] [pid 3060:tid 280] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]
[Thu Apr 04 00:21:23.276605 2013] [mpm_winnt:notice] [pid 3060:tid 280] AH00354: Child: Starting 150 worker threads.
[Thu Apr 04 00:21:23.328611 2013] [mpm_winnt:notice] [pid 260:tid 572] AH00428: Parent: child process exited with status 3221225725 -- Restarting.
[Thu Apr 04 00:21:24.584768 2013] [ssl:warn] [pid 260:tid 572] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]
[Thu Apr 04 00:21:24.649766 2013] [mpm_winnt:notice] [pid 260:tid 572] AH00455: Apache/2.4.3 (Win32) OpenSSL/1.0.1c PHP/5.4.7 configured -- resuming normal operations
[Thu Apr 04 00:21:24.649766 2013] [mpm_winnt:notice] [pid 260:tid 572] AH00456: Server built: Aug 18 2012 12:41:37
[Thu Apr 04 00:21:24.649766 2013] [core:notice] [pid 260:tid 572] AH00094: Command line: 'E:\\xampp\\apache\\bin\\httpd.exe -d E:/xampp/apache'
[Thu Apr 04 00:21:24.652768 2013] [mpm_winnt:notice] [pid 260:tid 572] AH00418: Parent: Created child process 6620
[Thu Apr 04 00:21:26.551000 2013] [ssl:warn] [pid 6620:tid 364] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]
[Thu Apr 04 00:21:26.614999 2013] [mpm_winnt:notice] [pid 6620:tid 364] AH00354: Child: Starting 150 worker threads.
[Thu Apr 04 00:21:26.669006 2013] [mpm_winnt:notice] [pid 260:tid 572] AH00428: Parent: child process exited with status 3221225725 -- Restarting.
[Thu Apr 04 00:21:27.826148 2013] [ssl:warn] [pid 260:tid 572] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]
[Thu Apr 04 00:21:27.886148 2013] [mpm_winnt:notice] [pid 260:tid 572] AH00455: Apache/2.4.3 (Win32) OpenSSL/1.0.1c PHP/5.4.7 configured -- resuming normal operations
[Thu Apr 04 00:21:27.886148 2013] [mpm_winnt:notice] [pid 260:tid 572] AH00456: Server built: Aug 18 2012 12:41:37
[Thu Apr 04 00:21:27.886148 2013] [core:notice] [pid 260:tid 572] AH00094: Command line: 'E:\\xampp\\apache\\bin\\httpd.exe -d E:/xampp/apache'
[Thu Apr 04 00:21:27.888150 2013] [mpm_winnt:notice] [pid 260:tid 572] AH00418: Parent: Created child process 7032
[Thu Apr 04 00:21:29.761369 2013] [ssl:warn] [pid 7032:tid 332] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]
[Thu Apr 04 00:21:29.824377 2013] [mpm_winnt:notice] [pid 7032:tid 332] AH00354: Child: Starting 150 worker threads.
[Thu Apr 04 00:21:29.876385 2013] [mpm_winnt:notice] [pid 260:tid 572] AH00428: Parent: child process exited with status 3221225725 -- Restarting.
我最好的猜测是我安装的应用程序中存在某种间谍软件。 非常感谢您的阅读,欢迎提出任何想法。
【问题讨论】:
问题已解决:NVIDIA FirstPacket 阻止了它。我已经禁用它,它就像一个魅力。 【参考方案1】:问题已解决:
NVIDIA FirstPacket 阻止了它。我已禁用它,它就像一个魅力。
【讨论】:
以上是关于为啥我的 XAMPP Apache 服务不断重启?的主要内容,如果未能解决你的问题,请参考以下文章
为啥我的 Xampp Apache 服务器无法打开一个 PHP 脚本?
XAMPP apache服务器没有使用我想要的端口,不知道为啥
为啥 Apache 忽略我的 VirtualHost 声明?