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

前端 未结 27 2056
不知归路
不知归路 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:49

    There can be lots of methods to solve this problem, but here is simplest one:

    GO to XAMPP-control and...

    Run as administrator

    That's all..

    This is the Golden Point for any such Abnormality.

    Concept behind the work

    Actually all the services in Xampp need Ports dependency. What happens is, When there is no special powers given to xampp, it only look for some predefined ports to run those services. And, if in case, those ports are somehow already busy... eek! the service couldn't be started.

    But if we give superpower to our Xampp-control (by running as administrator), it will somehow manage and for certainly on earth will run the services on the ports. And triumph! You made it.

    Permanent tip for my dear Brother and Sisters

    To do the efforts one and for all, follow these steps:

    • right-click on xampp-control.exe file and go to properties.
    • Go to Compatibility Tab.
    • In the settings below, choose the checkbox Run this program as an administrator.
    • Apply the changes. And you are done.

    Now, every time you run the application, it will run with the Administrator status and You don't need to take care about the ports at all.

提交回复
热议问题