简体   繁体   English

Apache中的xampp服务器错误

[英]xampp server error in Apache

I've installed xampp server but when I click on mysql admin button it shows me an error: 我已经安装了xampp服务器,但是当我单击mysql admin按钮时,它显示了一个错误:

错误img

and also I changed Apache port 80 to another number but Apache doesn't start and it shows me like this: 并且我将Apache端口80更改为另一个数字,但是Apache无法启动,并且显示如下:

Attempting to start Apache service... 6:26:01 PM [Apache] Status change detected: running 6:26:05 PM [Apache] Status change detected: stopped 6:26:05 PM [Apache] Error: Apache shutdown unexpectedly. 尝试启动Apache服务... 6:26:01 PM [Apache]检测到状态更改:正在运行6:26:05 PM [Apache]检测到状态更改:已停止6:26:05 PM [Apache]错误:Apache意外关闭。 6:26:05 PM [Apache] This may be due to a blocked port, missing dependencies, 6:26:05 PM [Apache] improper privileges, a crash, or a shutdown by another method. [Apache] 6:26:05 PM [Apache]这可能是由于端口阻塞,缺少依赖项,6:26:05 PM [Apache]不当特权,崩溃或其他方法导致的关机。 6:26:05 PM [Apache] Press the Logs button to view error logs and check 6:26:05 PM [Apache] the Windows Event Viewer for more clues 6:26:05 PM [Apache] If you need more help, copy and post this 6:26:05 PM [Apache] entire log window on the forums 6:26:05 PM [Apache]按下[日志]按钮查看错误日志,并检查6:26:05 PM [Apache] Windows Event Viewer以获得更多线索6:26:05 PM [Apache]如果您需要更多帮助,复制并张贴此下午6:26:05 [Apache]论坛上的整个日志窗口

You have something else on your machine using port 80, the same one Apache is trying to use. 您正在使用端口80在计算机上安装其他产品,而Apache正在尝试使用该端口。 You have two choices: 您有两种选择:

  1. Stop the other service using port 80. 使用端口80停止其他服务。
  2. Give Apache a different port number (like 8080) in the XAMPP application. 在XAMPP应用程序中为Apache提供一个不同的端口号(例如8080)。

As you can see 如你看到的

6:26:05 PM  [Apache]    Status change detected: stopped

Apache is not running, so the error you see on the screen is not related to mysql, but to Apache. Apache未运行,因此您在屏幕上看到的错误与mysql不相关,而与Apache有关。 Go into the configuration panel of xampp and change ports, some software like Skype use 433 port (web ssl), so then Apache couldn't start. 进入xampp的配置面板并更改端口,Skype之类的某些软件使用433端口(web ssl),因此Apache无法启动。

You can change the port with, for example, 8080. 您可以使用8080更改端口。

Then, go to http://localhost:8080/phpmyadmin 然后,转到http:// localhost:8080 / phpmyadmin

And you're done. 这样就完成了。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM