XAMPP: Couldn't start Apache (Windows 10)

前端 未结 25 2016
长情又很酷
长情又很酷 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:32

    You can change the port of Apache:

    1. Go to C:\xampp\apache\conf\httpd.
    2. Find by combination Ctrl+F line #Listen 12.34.56.78:80 and change the 80 to any you like for example 81
    3. The same with Listen 80 change to 81
    4. The same with ServerName localhost:80 change to 81.
    5. Go to C:\xampp\apache\conf\extra\httpd-vhosts and change 80 to 81

    NameVirtualHost *:80 here

    VirtualHost *:80 and here (two times)

    1. Restart Apache

    To enter your web page, type: http://localhost:81/index.html

提交回复
热议问题