Apache启动提示

20:39:02 [Apache] Error: Apache shutdown unexpectedly.
20:39:02 [Apache] This may be due to a blocked port, missing dependencies,
20:39:02 [Apache] improper privileges, a crash, or a shutdown by another method.
20:39:02 [Apache] Press the Logs button to view error logs and check
20:39:02 [Apache] the Windows Event Viewer for more clues
20:39:02 [Apache] If you need more help, copy and post this
20:39:02 [Apache] entire log window on the forums
20:46:47 [Apache] Problem detected!
20:46:47 [Apache] Port 443 in use by ""D:\Program Files (x86)\VMware\VMware Workstation\vmware-hostd.exe" -u "C:\ProgramData\VMware\hostd\config.xml"" with PID 9168!
20:46:47 [Apache] Apache WILL NOT start without the configured ports free!
20:46:47 [Apache] You need to uninstall/disable/reconfigure the blocking application
20:46:47 [Apache] or reconfigure Apache and the Control Panel to listen on a different port

上面说明VMware占用了443端口

以下通过修改配置文件来修改默认端口(当没有安装VMware不会占用端口)

2.httpd-ssl.conf(修改无效)

3.修改properties.ini

右键记事本打开或notepad++打开properties.ini

[General]

installdir=D:\xampp

base_stack_name=XAMPP

base_stack_version=1.8.3-1

base_stack_platform=windows

require_root_privileges=1

[Apache]

apache_server_port=80

apache_server_ssl_port=443

apache_root_directory=/xampp/apache

apache_htdocs_directory=D:\xampp/htdocs

apache_domainname=127.0.0.1

apache_configuration_directory=D:\xampp/apache/conf

apache_unique_service_name=

[MySQL]

mysql_port=3306

mysql_host=localhost

mysql_root_directory=D:\xampp\mysql

mysql_binary_directory=D:\xampp\mysql\bin

mysql_data_directory=D:\xampp\mysql\data

mysql_arguments=-u root -P3306

mysql_unique_service_name=

[PHP]

php_binary_directory=D:\xampp\php

php_configuration_directory=D:\xampp\php

修改成(默认除apache,禁止修改其他内容,如悉例外)

apache_server_port=8080

apache_server_ssl_port=4433

ctrl+S保存

star

当然也有其他方法,只是有些方法效率不高则不做修改方法

xampp——apache服务启动问题(端口占用)的更多相关文章

  1. Apache -- XAMPP Apache 无法启动原因及解决方法

    XAMPP Apache 无法启动原因1(缺少VC运行库): 这个就是我遇到的问题原因,下载安装的XAMPP版本是xampp-win32-1.7.7-VC9,而现有的Windows XP系统又没有安装 ...

  2. 关于XAMPP Apache无法启动问题解决方案

    安装好XAMPP后,启动Apache服务启动失败,然后从xampp安装目录下执行apache_start.bat文件,如下图 显示443端口被占用. 解决方法: 启动cmd,输入netstat -a  ...

  3. Windows下Apache服务多个端口反向代理配置

    修改\Apache24\conf\httpd.conf: 1.修改安装包地址: Define SRVROOT "/Apache24" 修改为: Define SRVROOT &qu ...

  4. bitnami-redmine Apache服务启动不起来

    方法一: 通过 netstat -a -o 查看端口占用情况,关闭调用相关端口的进程.  c:\> netstat -a -o  Active Connections  Proto  Local ...

  5. 关于centOS 7的服务启动,端口查询,防火墙管理

    端口的查询与开启 CentOS 7 默认没有使用iptables,所以通过编辑iptables的配置文件来开启80端口是不可以的CentOS 7 采用了 firewalld 防火墙 如要查询是否开启8 ...

  6. Myeclipse 自带Tomcat启动8080端口占用

    在启动Myeclipse自带的Tomcat发现报错,显示8080端口被占用 第一步:window+r 组合键,调出命令窗口. 第二步:输出命令:netstat -ano|findstr 8080   ...

  7. tomcat启动项目 端口占用

    转自:https://blog.csdn.net/u010427935/article/details/77297529 有时候电脑比较卡,项目比较大的情况下,eclipse没有完全停止tomcat的 ...

  8. tomcat启动时端口占用的问题怎么解决

    PS:web项目在启动的时候,一般会报Address already in use: bind,常规的处理思路为:删除任务管理器中的javaw.exe进程即可:当删除仍然解决不了时,一般处理思路如下, ...

  9. mysql服务启动 但端口未监听

    mysql 启动了,用 localhost 可以连接,但是用 127.0.0.1 不能连接.可能的原因是 1. mysql为了增强安全性而跳过了端口监听,查看方法: 用mysql> SHOW V ...

随机推荐

  1. oracle 内存不足处理

    alter日志 TNS-12535: TNS:operation timed out ns secondary err code: 12606 nt main err code: 0 nt secon ...

  2. c# 存储过程取output 值

    DataAccess da = new DataAccess(); da.sqlPath = Config.Get("System", "dataCntString&qu ...

  3. WEB日期控件

    http://www.cnblogs.com/jiangbei/p/7270788.html 日期控件——my97 <div class="form-group">   ...

  4. 《PHP内核剖析 - FPM》

    一:概述 - FPM 定义 -  FPM(FastCGI Process Manager)是PHP FastCGI运行模式的一个进程管理器. -  FastCGI -  Web服务器(如:Nginx. ...

  5. 微信小程序轮播图组件 swiper,swiper-item及轮播图片自适应

    官网地址:https://developers.weixin.qq.com/miniprogram/dev/component/swiper.html index.wxml文件 indicator-d ...

  6. 解决python3 pip安装、更新及yaml安装

    问题:python3.6版本使用pip安装第三方库时总是报错 电脑中存在多个python版本写成对应pip版本 解决:pip3 install pyOpenSSL -i http://pypi.dou ...

  7. Freeswitch配置之sofia

    SIP模块 - mod_sofia SIP 模块是 FreeSWITCH的主要模块. 在 FreeSWITCH中,实现一些互联协议接口的模块称为 Endpoint.FreeSWITH支持很多的 End ...

  8. Podfile语法参考

    中文翻译可以参考:Podfile语法参考(译) 英文官方文档:Podfile Syntax Reference

  9. 再次聊一聊promise settimeout asycn awiat执行顺序---js执行机制 EVENT LOOP

    首先js是单线程 分为同步和异步,异步又分为(macrotask 宏任务 和 microtask微任务 ), 这图还是很清晰嘛,再来一张 总结一下,就是遇到同步先执行同步,异步的丢到一边依次排队,先排 ...

  10. 关于微信跳转,这里有你想知道的一切weixin://dl/business/?ticket=td9cd0bf056c561fe9f56e33c61df61bf

    纠结了了很久,还是放出来部分接口,相信能够看到这篇文章的人也基本都是需求比较强烈的. 京东: https://wq.jd.com/mjgj/link/GetOpenLink?rurl=http%3a% ...