最新消息:XAMPP默认安装之后是很不安全的,我们只需要点击左方菜单的 "安全"选项,按照向导操作即可完成安全设置。

XAMPP教程之怎么解决xampp开启Apache报错?

XAMPP教程 admin 628浏览 0评论

xampp开启Apache报错。

Error: Apache shutdown unexpectedly.
14:35:24 [Apache] This may be due to a blocked port, missing dependencies, 
14:35:24 [Apache] improper privileges, a crash, or a shutdown by another method. 
14:35:24 [Apache] Press the Logs button to view error logs and check 
14:35:24 [Apache] the Windows Event Viewer for more clues 
14:35:24 [Apache] If you need more help, copy and post this 
14:35:24 [Apache] entire log window on the forums

原因是,Apache服务的端口被占用了,默认端口为80。

解决方案

zzzzzt61

xampp

打开httpd.conf文件,将Listen:80修改为Listen:81,或其他端口。

zzzzzt061

httpd.conf

打开httpd-ssl.conf文件,将Listen:443修改为Listen:4433,或其他端口。

zzzzzt0061

httpd-ssl.conf

重启Apache。

转载请注明:XAMPP中文组官网 » XAMPP教程之怎么解决xampp开启Apache报错?

您必须 登录 才能发表评论!