I am setting up Apache 2.4 on 64-bit Windows Server 2008 R2. I downloaded the 32-bit zip from Apache Lounge and unzipped, also installed VC10 SP1.
Then, when I tried to run httpd.exe, I got an error:
The application failed to initialize properly(0xc000007b)
The same thing worked on my 64-bit Win7.
Ran Depency Walker on httpd.exe. Missing dependencies are:
IESHIMS.DLL: This is also missing in my Win7 httpd. Don't think is the problem.
WLANAPI.DLL: Go to Control Panel > Administrative Tools > Server Manager > Features (left panel) > Add Feature > check Wireless LAN Services to enable it. After that, wlanapi.dll is in the system32 folder.
The rest: These are related to "Media Foundation", but I don't know how to install/enable.
(edit: Some say installing "Desktop Experience" will include Media Foundation, will test)
Apache 2.2 from apache.org is also missing those dlls but runs perfectly fine on the server!!
So, it's not a dependency problem...
Though you are not building your own application, the error (and solution) still apply.
Additionally, you can try running the following commands
chkdsk X: /R
I faced the same error and it was due to 32 bit version of Apache24 software from apache lounge was run on 64-bit windows 7. I uninstalled the 32 bit version and installed a new 64-bit version of the same.
That resolved this issue. Can be helpful for someone.
There are many reasons which stops Apache or any other program to run or sometimes the program didn't able to find suitable software for its execution. In windows OS this problem is due to busy port or due vc14,vc15 i.e. Microsoft Visual C++ Redistributable package depending on your software.
Here we discuss only the second case i.e. Microsoft Visual C++ Redistributable package. Now you have to check which one package your software needs whether it is 2010, 2012, 2013, 2015 or 2017. If you have all other versions except the needed one you can't start your software. Microsoft Visual C++ Redistributable package 2015 version helped me to resolve my problem.
Like in Apache http server website it is mentioned apache recommnds vc
User contributions licensed under CC BY-SA 3.0