设为首页 收藏本站
查看: 1114|回复: 0

[经验分享] 安装XAMPP时启动Apache失败解决方法 xampp

[复制链接]

尚未签到

发表于 2015-8-2 12:57:02 | 显示全部楼层 |阅读模式
  我现在的XAMP版本是xampp-win32-1.8.3-1-VC11-installer(下载)
  
  
  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
  
  
  
DSC0000.jpg

  
  
  
  
DSC0001.jpg

  
  
  
  
DSC0002.jpg

  
  
  修改它。。。。
  
  修改成8088,4431
  
DSC0003.jpg

  

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

运维网声明 1、欢迎大家加入本站运维交流群:群②:261659950 群⑤:202807635 群⑦870801961 群⑧679858003
2、本站所有主题由该帖子作者发表,该帖子作者与运维网享有帖子相关版权
3、所有作品的著作权均归原作者享有,请您和我们一样尊重他人的著作权等合法权益。如果您对作品感到满意,请购买正版
4、禁止制作、复制、发布和传播具有反动、淫秽、色情、暴力、凶杀等内容的信息,一经发现立即删除。若您因此触犯法律,一切后果自负,我们对此不承担任何责任
5、所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其内容的准确性、可靠性、正当性、安全性、合法性等负责,亦不承担任何法律责任
6、所有作品仅供您个人学习、研究或欣赏,不得用于商业或者其他用途,否则,一切后果均由您自己承担,我们对此不承担任何法律责任
7、如涉及侵犯版权等问题,请您及时通知我们,我们将立即采取措施予以解决
8、联系人Email:admin@iyunv.com 网址:www.yunweiku.com

所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其承担任何法律责任,如涉及侵犯版权等问题,请您及时通知我们,我们将立即处理,联系人Email:kefu@iyunv.com,QQ:1061981298 本贴地址:https://www.yunweiku.com/thread-93330-1-1.html 上篇帖子: mysql+apache+php======myphpamdin的问题: 下篇帖子: Mac OS X上搭建Apache、PHP、MySQL的Web服务器
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

扫码加入运维网微信交流群X

扫码加入运维网微信交流群

扫描二维码加入运维网微信交流群,最新一手资源尽在官方微信交流群!快快加入我们吧...

扫描微信二维码查看详情

客服E-mail:kefu@iyunv.com 客服QQ:1061981298


QQ群⑦:运维网交流群⑦ QQ群⑧:运维网交流群⑧ k8s群:运维网kubernetes交流群


提醒:禁止发布任何违反国家法律、法规的言论与图片等内容;本站内容均来自个人观点与网络等信息,非本站认同之观点.


本站大部分资源是网友从网上搜集分享而来,其版权均归原作者及其网站所有,我们尊重他人的合法权益,如有内容侵犯您的合法权益,请及时与我们联系进行核实删除!



合作伙伴: 青云cloud

快速回复 返回顶部 返回列表