【问题标题】:Database Xampp Apache数据库 Xampp Apache
【发布时间】:2021-03-20 03:47:35
【问题描述】:

我是数据库的新手,我正在尝试使用 xampp 本地主机数据库,但它给出了这个错误

10:34:15 AM  [Apache]   Error: Apache shutdown unexpectedly.

10:34:15 AM  [Apache]   This may be due to a blocked port, missing dependencies,
 
10:34:15 AM  [Apache]   improper privileges, a crash, or a shutdown by another method.

10:34:15 AM  [Apache]   Press the Logs button to view error logs and check

10:34:16 AM  [Apache]   the Windows Event Viewer for more clues

10:34:16 AM  [Apache]   If you need more help, copy and post this

10:34:16 AM  [Apache]   entire log window on the forums

10:45:36 AM  [Apache]   Uninstalling service...

10:45:38 AM  [Apache]   There may be an error, return code: 1223 - The operation was canceled by the user.
10:45:38 AM  [Apache]   Service was NOT (un)installed!

10:45:43 AM  [Apache]   Problem detected!

10:45:43 AM  [Apache]   Port 80 in use by "Unable to open process" with PID 4!

10:45:43 AM  [Apache]   Apache WILL NOT start without the configured ports free!

10:45:43 AM  [Apache]   You need to uninstall/disable/reconfigure the blocking application

10:45:43 AM  [Apache]   or reconfigure Apache and the Control Panel to listen on a different port

我在谷歌上搜索了很多解决方案,但如果你想帮助我,它们都不起作用,我可以给你远程服务器,请帮助我

【问题讨论】:

标签: database apache xampp port


【解决方案1】:

以管理员身份运行CMD,运行netstat -ano | findstr :80,然后查看输出。

找两行就是这样,但显然pid会不同:

 TCP    0.0.0.0:80             0.0.0.0:0              LISTENING       1234
#the fifth output is the pid number.

然后运行taskkill /F /PID 1234,1234 是这个例子中的 pid 号,你可能会有所不同。

如果您找不到 pid 号,请在您的问题中发布netstat -anb 的输出。

我不会冒险,但是: 因为您的问题有 10:45:43 AM [Apache] Port 80 in use by "Unable to open process" with PID 4! 声明,您可以运行 taskkill /F /PID 4.

【讨论】:

    猜你喜欢
    • 2011-07-20
    • 2015-11-07
    • 2017-12-15
    • 1970-01-01
    • 2019-03-22
    • 2018-09-04
    • 1970-01-01
    • 1970-01-01
    • 2014-03-25
    相关资源
    最近更新 更多