XAMPP: Couldn't start Apache (Windows 10)

前端 未结 25 2037
长情又很酷
长情又很酷 2020-11-30 19:26

I\'m using XAMPP, and I can start Apache, but, MySQL (phpMyAdmin) start!

When I start, I get this error;

10:07         


        
25条回答
  •  甜味超标
    2020-11-30 19:33

    I have fixed this issue with mine as well, but I had to change a couple of things. I require that on my Windows 10 machine I keep my C# and Visual Studio development environment, so I didn't want to tinker with any services. All I had to do was download the latest version of XAMPP and change the listening ports for 80 and 443. They were located in two files:

    C:\xampp\apache\conf\httpd.conf

    Listen 122
    ServerName localhost:122
    

    C:\xampp\apache\conf\extra\httpd-ssl.conf

    Listen 444
    

    Changing the above from port 80 to 122 and 443 to 444 allowed me to have Apache run and serve pages while keeping everything else the same for my ASP.NET development. Hopefully this helps someone out there. In the end this is a very simple fix.

    Direct your browser to: http://localhost:122

提交回复
热议问题