XAMPP: Couldn't start Apache (Windows 10)

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

    I got the same problem and I solved it by uninstalling WAMP server.

    0 讨论(0)
  • 2020-11-30 19:48

    Solving this problem is easy:

    1. Open a command prompt with administrator privileges
      • Find "cmd", right-click on it, then select "Administrator".
    2. In the prompt, type net stop W3SVC and Enter.

    You can now click in WAMPP and restart all services. Open your browser and navigate to "localhost".

    If you need to start W3SVC again,

    1. Open a command prompt with administrator privileges
    2. In the prompt, type net start W3SVC and Enter.
    0 讨论(0)
  • 2020-11-30 19:48

    I tried everything listed in the answers here but none of them worked.

    Then all I did was to re-start XAMPP with administrator rights by:

    Start menu - right click on XAMPP - select run as administartor

    It worked. It is that simple.

    I uninstalled IIS services, stopped WWW services, changed ports back to 80, blocked all apache and mysql connections from windows 10 firewall, but yes it still works!

    0 讨论(0)
  • 2020-11-30 19:49

    Change the port number which port are available in your system By following ways

    1. First open the Apache “httpd.conf” file:

    #Listen 12.34.56.78:80
    Listen 80
    ServerName localhost:80
    

    to

    #Listen 12.34.56.78:8080
    Listen 8080
    ServerName localhost:8080
    

    2. Open httpd-ssl.conf:

    Listen 443
    <VirtualHost _default_:443>
    

    to

    Listen 441
    <VirtualHost _default_:441>
    

    3. Follow the trick. Now “Start” Apache and if everything goes well, your Apache server should start up.

    0 讨论(0)
  • 2020-11-30 19:53

    After playing around, really all you have to do is change two lines in the httpd.conf file:

    Change "Listen 80" to "Listen 122" (or anything else you want)

    and

    "ServerName Localhost:80" to "Localhost:122" (or the port you changed above)

    Then it all should fire right up :P

    0 讨论(0)
  • 2020-11-30 19:54

    I found that running apache_start in gave me the exact error and on which line it was.

    My error was that I left a space in between localhost: and the port.

    0 讨论(0)
提交回复
热议问题