XAMP安裝Apacher無法啟動

來源:互聯網
上載者:User

標籤:xampp 營運

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

 

 

 

650) this.width=650;" src="http://img.blog.csdn.net/20131202092430718?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvYW5nbGU3Nzc3/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/Center" alt="安裝XAMPP時啟動Apache失敗解決方案 xampp" style="border:0px;" />

 

 

 

 

650) this.width=650;" src="http://img.blog.csdn.net/20131202092436984?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvYW5nbGU3Nzc3/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/Center" alt="安裝XAMPP時啟動Apache失敗解決方案 xampp" style="border:0px;" />

 

 

 

 

650) this.width=650;" src="http://img.blog.csdn.net/20131202092416843?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvYW5nbGU3Nzc3/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/Center" alt="安裝XAMPP時啟動Apache失敗解決方案 xampp" style="border:0px;" />

 

 

修改它。。。。

 

修改成8088,4431

 

650) this.width=650;" src="http://img.blog.csdn.net/20131202092423859?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvYW5nbGU3Nzc3/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/Center" alt="安裝XAMPP時啟動Apache失敗解決方案 xampp" style="border:0px;" />



 

重新啟動,搞定。不容易啊。


本文出自 “營運小當家” 部落格,請務必保留此出處http://solin.blog.51cto.com/11319413/1892267

XAMP安裝Apacher無法啟動

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.