Apache error 0xc000007b

14,648

Alright, found a workaround.

Downloaded the VC9 version instead of the VC10 one and it runs without problem.

Share:
14,648

Related videos on Youtube

TwiNight
Author by

TwiNight

Computer programming enthusiast from Hong Kong. Computer Science Graduate. Specializes in HTML, Javascript, CSS, and PHP.

Updated on September 18, 2022

Comments

  • TwiNight
    TwiNight almost 2 years

    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.

    Any insights?


    EDIT

    Ran Depency Walker on httpd.exe. Missing dependencies are:

    • IESHIMS.DLL
    • MF.DLL
    • MFPLAT.DLL
    • MFREADWRITE.DLL
    • WLANAPI.DLL

    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)


    EDIT2

    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...

  • TwiNight
    TwiNight about 11 years
    So I run Dependency Walker on both the WinServer08 and Win7, the server is missing quite a few dll, including mf.dll, mfplat.dll, wlanpi.dll, etc. Is it good to transfer those from my Win7 to the server? If not, how can I fix this?
  • Sašo
    Sašo about 11 years
    Added some more info - sfc /scannow is likely to be the one that fixes things up.