4532132 发表于 2017-1-17 10:04:51

XAMP安装Apacher无法启动

Apache启动提示10:33:43Problem detected!10:33:43Port 80 in use by "Unable to open process" with PID 4!10:33:43Apache WILL NOT start without the configured ports free!10:33:43 Youneed to uninstall/disable/reconfigure the blocking application10:33:43 orreconfigure Apache and the Control Panel to listen on a different port10:33:43Problem detected!10:33:43Port 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:43Apache WILL NOT start without the configured ports free!10:33:43 Youneed to uninstall/disable/reconfigure the blocking application10:33:43 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,找到
installdir=D:\xamppbase_stack_name=XAMPPbase_stack_version=1.8.3-1base_stack_platform=windowsrequire_root_privileges=1apache_server_port=80apache_server_ssl_port=443apache_root_directory=/xampp/apacheapache_htdocs_directory=D:\xampp/htdocsapache_domainname=127.0.0.1apache_configuration_directory=D:\xampp/apache/confapache_unique_service_name=mysql_port=3306mysql_host=localhostmysql_root_directory=D:\xampp\mysqlmysql_binary_directory=D:\xampp\mysql\binmysql_data_directory=D:\xampp\mysql\datamysql_arguments=-u root -P3306mysql_unique_service_name=php_binary_directory=D:\xampp\phpphp_configuration_directory=D:\xampp\php
红色标注部分设置了其实端口,依次修改成apache_server_port=8088apache_server_ssl_port=4431

1、打开xampp-control.ini,找到
Apache=80ApacheSSL=443MySQL=3306FileZilla=21FileZillaAdmin=14147Mercury1=25Mercury2=79Mercury3=105Mercury4=106Mercury5=110Mercury6=143Mercury7=2224TomcatHTTP=8080TomcatAJP=8009Tomcat=8005
修改成 Apache=8088ApacheSSL=4431












修改它。。。。
修改成8088,4431


重新启动,搞定。不容易啊。
页: [1]
查看完整版本: XAMP安装Apacher无法启动