无法启动Xampp Apache服务

时间:2015-10-10 13:04:11

标签: apache xampp

我的项目需要Apache和MySQL服务,但我无法启动apache服务。

这是日志:

5:45:22 PM  [main]  Initializing Control Panel
5:45:22 PM  [main]  Windows Version: Windows 8  64-bit
5:45:22 PM  [main]  XAMPP Version: 5.6.12
5:45:22 PM  [main]  Control Panel Version: 3.2.1  [ Compiled: May 7th 2013 ]
5:45:22 PM  [main]  You are not running with administrator rights! This will work for
5:45:22 PM  [main]  most application stuff but whenever you do something with services
5:45:22 PM  [main]  there will be a security dialogue or things will break! So think 
5:45:22 PM  [main]  about running this application with administrator rights!
5:45:22 PM  [main]  XAMPP Installation Directory: "c:\xampp\"
5:45:22 PM  [main]  Checking for prerequisites
5:45:23 PM  [main]  All prerequisites found
5:45:23 PM  [main]  Initializing Modules
5:45:23 PM  [main]  Enabling autostart for module "Apache"
5:45:23 PM  [main]  Starting Check-Timer
5:45:23 PM  [main]  Control Panel Ready
5:45:23 PM  [Apache]    Autostart active: starting...
5:45:23 PM  [Apache]    Attempting to start Apache service...
5:45:25 PM  [Apache]    Status change detected: running
5:45:27 PM  [Apache]    Status change detected: stopped
5:45:27 PM  [Apache]    Error: Apache shutdown unexpectedly.
5:45:27 PM  [Apache]    This may be due to a blocked port, missing dependencies, 
5:45:27 PM  [Apache]    improper privileges, a crash, or a shutdown by another method.
5:45:27 PM  [Apache]    Press the Logs button to view error logs and check
5:45:27 PM  [Apache]    the Windows Event Viewer for more clues
5:45:27 PM  [Apache]    If you need more help, copy and post this
5:45:27 PM  [Apache]    entire log window on the forums

首先,当我安装Xampp时,我无法运行Apache服务。然后我取消选中"使用端口80和443"在Skype中并签署了Skype,并将配置文件中的端口从80改为8080和443到4433.完成此操作后,Apache服务器运行顺畅。但是在重新启动我的笔记本电脑后,Xampp显示Apache服务已经启动,但实际上并没有启动。然后我升级到Windows 10,现在正在发生这种情况。

PS这是我的第一个问题

1 个答案:

答案 0 :(得分:0)

重新安装Xampp并将apache的端口从80更改为8080,从443更改为443.

对于端口80编辑httpd.conf

对于端口443编辑http-ssl.conf

相关问题