Apache shutdown unexpectedly

前端 未结 17 1798
[愿得一人]
[愿得一人] 2020-12-13 20:27

I am using XAMPPS to host PHP files from my machine. I have recently installed XAMPPs but I am unable to start Apache service as port 80 is in use by PID 4 - NT Kernel &

相关标签:
17条回答
  • 2020-12-13 20:46

    I shut down the computer and restarted after installing the software and that fixed my problem.

    0 讨论(0)
  • 2020-12-13 20:47

    i think the error is here

    [pid 5384:tid 240] AH01909: RSA certificate configured for www.example.com:443 does NOT include an ID which matches the server name
    

    or there is another app are using the port 80 try restarting your computer and only opening apache and see what happens

    or try on reinstalling apache or using Ampps

    0 讨论(0)
  • 2020-12-13 20:52

    Follow these:

    1. open your xampp control panel then click its "config"
    2. choose the "Apache (httpd.conf)" and find this code below and change it into this one:

      # Change this to Listen on specific IP addresses as shown below to 
      # prevent Apache from glomming onto all bound IP addresses.
      #
      #Listen 0.0.0.0:80
      #Listen [::]:80
      Listen 80
      #
      # Dynamic Shared Object (DSO) Support
      
    3. save it (ctrl + s)

    4. after that, go back to xampp control panel and click again its config

    5. choose "Apache (httpd-ssl.conf)" find this code below and change it again:

      # Note: Configurations that use IPv6 but not IPv4-mapped addresses need two
      #       Listen directives: "Listen [::]:443" and "Listen 0.0.0.0:443"
      #
      #Listen 0.0.0.0:443
      #Listen [::]:443
      Listen 443
      
    6. save it (ctrl + s)

    7. then, click the "config" (note: above the netstat) and click the "service and port settings" then save both of it.

    8. finally, go to the "control panel" -> "Programs & Features" -> "Turn Windows On or Off".

    9. Uncheck your "Internet Information Services" then click ok.

    Just wait for it and your computer/laptop will be automatically restart and try to open again your xampp control panel then start your Apache.

    0 讨论(0)
  • 2020-12-13 20:52

    This problem may occur because of skype installation in the system. Skype and apache service always conflict. Make sure your skype is not started before starting xampp.

    0 讨论(0)
  • 2020-12-13 20:55

    You shuld run file setup_xampp.bat in XAMP folder first!

    0 讨论(0)
  • 2020-12-13 20:55

    Your XAMPP restarting with following error at Multi-Processing Module mpm

     [mpm_winnt:notice] [pid 4200:tid 228] AH00428:    
    `Parent: child process 248 exited with status 1073807364 -- Restarting.`
    

    Add the following in the httpd.conf file of xampp to resolve this.

    <IfModule mpm_winnt_module>
      ThreadStackSize 8388608
    </IfModule>
    
    0 讨论(0)
提交回复
热议问题