【发布时间】:2013-07-10 05:21:40
【问题描述】:
我刚刚安装了带有 PHP 5.3.13 和 PHP 5.2.2 两个版本的 WAMP
PHP 5.3.13 可以找到,但在 WAMP 控制器中,如果我切换 PHP 版本,我的 localhost 不起作用。我什至重新启动了 WAMP 并检查了 Apache 错误日志并看到了这个错误:
[Thu Jul 11 15:22:22 2013] [notice] Parent: Received shutdown signal -- Shutting down the server.
[Thu Jul 11 15:22:22 2013] [notice] Child 5676: Exit event signaled. Child process is ending.
[Thu Jul 11 15:22:23 2013] [notice] Child 5676: Released the start mutex
[Thu Jul 11 15:22:24 2013] [notice] Child 5676: All worker threads have exited.
[Thu Jul 11 15:22:24 2013] [notice] Child 5676: Child process is exiting
[Thu Jul 11 15:22:24 2013] [notice] Parent: Child process exited successfully.
这是什么意思?我该怎么做才能修复它?
【问题讨论】:
-
该日志仅显示启动的关闭事件 - 不是错误。
-
尝试通过命令行而不是通过 WAMP 启动 apache (httpd),这样你更有可能得到一个有用的错误。
-
如何通过 cmd 启动 wamp?
-
我在 cmd 中运行
NET Start wampapache并且无法启动 wampapache 服务。 :( -
尝试定位 Apache 安装目录。然后寻找 Apache>>Bin>>httpd.exe 从命令提示符运行这个文件,看看你是否得到错误。