xampp常见安装失败问题
Posted 疏影桐歌
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了xampp常见安装失败问题相关的知识,希望对你有一定的参考价值。
遇到这两个错误后不管它,继续安装。完成后下载Microsoft Visual C++ 2008 Redistributable Package (x86),可以到这里下载:Microsoft Visual C++ 2008 Redistributable Package (x86),安装完这个之后双击xampp安装目录下的setup_xampp.bat文件,最后运行安装目录下的xampp-control.exe文件,此时启动Apache就可以成功了。——知乎仰望星空
Important! Because an activated User Account Control (UAC) on your sytem some functions of XAMPP are possibly restricted. With UAC please avoid to install XAMPP to C:\\Program Files (x86) (missing write permisssions). Or deactivate UAC with msconfig after this setup.
安装目录最好选择C盘之外的其它磁盘,如果选择C盘安装,由于用户权限原因,会出现创建一些文件失败的问题。如果你已经据有最高权限,可以直接装在C盘。
一般刚安装完xampp时,apache服务器是启动不了的。
迅雷占用80端口
vameare-hostd.exe占用443端口
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
修改它。。。。
修改成8088,4431
Xampp2016打开提示缺少运行库的解决方法
右键xampp属性-兼容性-以管理员身份运行
以上是关于xampp常见安装失败问题的主要内容,如果未能解决你的问题,请参考以下文章