php - Windows 10 升级后,使用 XAMPP 的 Apache 意外关闭

标签 php mysql apache xampp windows-10

3:18:42 PM  [Apache]    Error: Apache shutdown unexpectedly.
3:18:42 PM  [Apache]    This may be due to a blocked port, missing dependencies, 
3:18:42 PM  [Apache]    improper privileges, a crash, or a shutdown by another method.
3:18:42 PM  [Apache]    Press the Logs button to view error logs and check
3:18:42 PM  [Apache]    the Windows Event Viewer for more clues
3:18:42 PM  [Apache]    If you need more help, copy and post this
3:18:42 PM  [Apache]    entire log window on the forums
3:20:32 PM  [Apache]    Problem detected!
3:20:32 PM  [Apache]    Port 80 in use by "Unable to open process" with PID 4!
3:20:32 PM  [Apache]    Apache WILL NOT start without the configured ports free!
3:20:32 PM  [Apache]    You need to uninstall/disable/reconfigure the blocking application
3:20:32 PM  [Apache]    or reconfigure Apache and the Control Panel to listen on a different port

来自 xampp\apache\logs\error.log

[Sat Jul 30 09:13:23.898167 2016] [core:warn] [pid 5632:tid 276] AH00098: pid file C:/xampp/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Sat Jul 30 09:13:24.093178 2016] [ssl:warn] [pid 5632:tid 276] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Sat Jul 30 09:13:30.075520 2016] [mpm_winnt:notice] [pid 5632:tid 276] AH00455: Apache/2.4.17 (Win32) OpenSSL/1.0.2d PHP/5.6.14 configured -- resuming normal operations
[Sat Jul 30 09:13:30.075520 2016] [mpm_winnt:notice] [pid 5632:tid 276] AH00456: Apache Lounge VC11 Server built: Oct 13 2015 10:54:13
[Sat Jul 30 09:13:30.075520 2016] [core:notice] [pid 5632:tid 276] AH00094: Command line: 'c:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
[Sat Jul 30 09:13:30.093521 2016] [mpm_winnt:notice] [pid 5632:tid 276] AH00418: Parent: Created child process 4412
[Sat Jul 30 09:13:31.277589 2016] [ssl:warn] [pid 4412:tid 288] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Sat Jul 30 09:13:31.728615 2016] [ssl:warn] [pid 4412:tid 288] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Sat Jul 30 09:13:31.778618 2016] [mpm_winnt:notice] [pid 4412:tid 288] AH00354: Child: Starting 150 worker threads.
[Sat Jul 30 13:55:49.769416 2016] [mpm_winnt:notice] [pid 5632:tid 276] AH00428: Parent: child process 4412 exited with status 1073807364 -- Restarting.

我知道我已经解决了这个问题,之前我只是不记得我是怎么做到的,任何人都可以帮助刷新我的内存,我会很感激。

最佳答案

从 services.msc 面板中找到启动类型已禁用的“万维网发布服务”,最后停止该进程。

关于php - Windows 10 升级后,使用 XAMPP 的 Apache 意外关闭,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/38678291/

相关文章:

php - 使用 PHP 时出现 FancyBox 错误。有任何想法吗?

mysql - 如何从MYSQL中删除部分单词

php - Laravel 5 Eloquent : How to get raw sql that is being executed?(绑定(bind)数据)

php - getenv(ENVIRONMENT VARIABLE) 什么也没得到

apache - 另一个 mod_rewrite 尾部斜线问题

eclipse - Apache Tomcat 8.0 无法加载使用 Eclipse for Java EE、Mars 2 用 Kotlin 编写的 servlet 类

php - 如何正确使用 jQuery.validity

php - 如何缓存base64编码图像

mysql - 错误 1064 (42000) && 错误 1005 (HY000) : Can't create table Contact_Info_Tbl (errno: 150)

php - 提取 mysql 表中的存储值并将其存储在每个单词的不同变量中