2

I have installed xampp in my pc, i am trying to install apache services through cmd, also if i try to start the apache service from xampp control, it throws ans error that "The Application was unable to start correctly (0xc00007b);

i have tried to install a .net framework as some people suggested but still same error.

my cmd command to start apache

D:\xampp\apache\bin>httpd -k install

Any body knows the solution for the same?

Punit Gajjar
  • 4,937
  • 7
  • 35
  • 70
  • Your post is a bit confusing, at least to me. First you state you are trying to install the service, then you say when you start the service it throws an error. So it must be installed, but not working properly. The next part of the post lists your command to start apache, but the -k install switch is to install the service. To start apache it would be httpd -k start. See if this post helps: [http://stackoverflow.com/questions/10492037/the-application-was-unable-to-start-correctly-0xc000007b] – Reenactor Rob Jul 20 '16 at 20:25
  • You are installing xampp but you are not using its control panel to start? – imprezzeb Mar 15 '17 at 00:23

2 Answers2

1

You need to install Visual C++ Redistributable for Visual Studio 2015 x86.

After that, reboot your computer and try again. If the apache is still not starting, run the XAMPP control panel as administrator.

In case that you're using Skype, make sure the tick allowing it to use ports 80 and 443 is not selected.

Stanimir Stoyanov
  • 1,623
  • 18
  • 29
0

I installed the last version of Microsoft Visual C++ Redistributable , and then rebooted my PC and the problem resolved .