XAMP安装Apacher无法启动

本文涉及的产品
云数据库 RDS MySQL Serverless,0.5-2RCU 50GB
简介:

Apache启动提示

10:33:43  [Apache]Problem detected!

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

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

10:33:43  [Apache] Youneed to uninstall/disable/reconfigure the blocking application

10:33:43  [Apache] orreconfigure Apache and the Control Panel to listen on a different port

10:33:43  [Apache]Problem detected!

10:33:43  [Apache]Port 443 in use by ""C:\Program Files (x86)\VMware\VMwareWorkstation\vmware-hostd.exe" -u "C:\ProgramData\VMware\hostd\config.xml""with PID 5728!

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

10:33:43  [Apache] Youneed to uninstall/disable/reconfigure the blocking application

10:33:43  [Apache] orreconfigure Apache and the Control Panel to listen on a different port

 

 

网上找了解决办法


2.httpd-ssl.conf

我试过了还是没有解决

 

 

后来发现在xampp根目录下有两个个文件properties.ini和xampp-control.ini

 

1、打开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_server_port=8088

apache_server_ssl_port=4431





1、打开xampp-control.ini,找到



[ServicePorts]

Apache=80

ApacheSSL=443

MySQL=3306

FileZilla=21

FileZillaAdmin=14147

Mercury1=25

Mercury2=79

Mercury3=105

Mercury4=106

Mercury5=110

Mercury6=143

Mercury7=2224

TomcatHTTP=8080

TomcatAJP=8009

Tomcat=8005



修改成 

Apache=8088

ApacheSSL=4431

 

 

 

安装XAMPP时启动Apache失败解决方法 xampp

 

 

 

 

安装XAMPP时启动Apache失败解决方法 xampp

 

 

 

 

安装XAMPP时启动Apache失败解决方法 xampp

 

 

修改它。。。。

 

修改成8088,4431

 

安装XAMPP时启动Apache失败解决方法 xampp



 

重新启动,搞定。不容易啊。










本文转自 运维小当家 51CTO博客,原文链接:http://blog.51cto.com/solin/1892267,如需转载请自行联系原作者
相关实践学习
基于CentOS快速搭建LAMP环境
本教程介绍如何搭建LAMP环境,其中LAMP分别代表Linux、Apache、MySQL和PHP。
全面了解阿里云能为你做什么
阿里云在全球各地部署高效节能的绿色数据中心,利用清洁计算为万物互联的新世界提供源源不断的能源动力,目前开服的区域包括中国(华北、华东、华南、香港)、新加坡、美国(美东、美西)、欧洲、中东、澳大利亚、日本。目前阿里云的产品涵盖弹性计算、数据库、存储与CDN、分析与搜索、云通信、网络、管理与监控、应用服务、互联网中间件、移动服务、视频服务等。通过本课程,来了解阿里云能够为你的业务带来哪些帮助     相关的阿里云产品:云服务器ECS 云服务器 ECS(Elastic Compute Service)是一种弹性可伸缩的计算服务,助您降低 IT 成本,提升运维效率,使您更专注于核心业务创新。产品详情: https://www.aliyun.com/product/ecs
目录
相关文章
sonar-运行时候无法启动问题&解决方法
sonar-运行时候无法启动问题&解决方法
VirtualBox安装debian无法启动,正确的解决办法
VirtualBox安装debian无法启动,正确的解决办法
122 0
VirtualBox安装debian无法启动,正确的解决办法
beegfs 7.3.2更新后服务无法启动
beegfs 7.3.2更新后服务无法启动
145 0
|
安全
Outlook无法启动一直显示“正在启动”的解决方法
今天早上打开电脑以后,就打开Outlook2016了,一直显示这个界面:
935 0
Outlook无法启动一直显示“正在启动”的解决方法

热门文章

最新文章