Busy… Apache started [Port 80]

前端 未结 13 862
醉话见心
醉话见心 2021-01-05 16:24

I use XAMPP 1.7.7 after start Apache I get this alert:

Busy...
Apache started [Port 80]

And I have opened the httpd.con

13条回答
  •  轻奢々
    轻奢々 (楼主)
    2021-01-05 17:02

    I have checked the source code for XAMPP control panel. It is not really 100% hardcoded. It looks for a dynamic value, if not found, it says port 80. Well, the dynamic value DOES NOT come from your httpd.conf file

    To change the port in Apache started [Port 80] message, do as follows:

    1. Find location of xampp-control.exe. It should be in the root of your installation directory.

    2. Create a file "XAMPP.INI" in that directory (so that XAMPP.ini and xampp-control.exe are in same directory)

    3. Put following in the XAMPP.INI file:

    [PORTS]
    apache = 8080

    Now , you will always get Apache started [Port 8080]. Use whatever port you want to display in XAMPP.ini file. Please note that, this is for display purpose only. It has no relation with your httpd.conf

提交回复
热议问题