Apache is not running from XAMPP Control Panel ( Error: Apache shutdown unexpectedly. This may be due to a blocked port)

前端 未结 27 2012
不知归路
不知归路 2020-11-28 04:16

I have installed XAMPP (xampp-win32-1.8.2-0-VC9-installer.exe) on Windows 7 successfully. But unfortunately, the following error was found during running Apache from XAMPP C

27条回答
  •  死守一世寂寞
    2020-11-28 04:37

    In my case the problem was that both port 80 and 443 were in use: Steps to use to fix it are :

    1. Open xampp and click on config button
    2. Now click on ( Appache )httpd.conf (Open in notepad or other editor)
    3. Now click ctrl + h.
    4. Find 80 and replace with 8080
    5. Now save and now click on Appache(httpd-ssl.conf).
    6. Now find 443 and replace with 4430.
    7. Now your xampp must be working fine as both these code are never in use by other programs on your system.

    Now your localhost will be available as localhost:8080

提交回复
热议问题