I have a problem when trying to install apache 2.4 on my windows 10. It always shows the error that VCRUNTIME140.dll is missing. I have checked other threads and found out that installing the 2015 Visual c++ Redistributables x64/x86 always solves the problem but I have both installed and I still have this problem. Are there any other solutions?
7 Answers
I had the same issue after installing wamp on windows 10.This worked for me.
- Download VCRUNTIME140.DLL
- Copy the dll file to
C:\Windows\System32
using administrative privileges. - Try reinstalling apache.
You need to install Microsoft Visual C++ 2015 Redistributable Update 3 RC, please find the link here, choose between the 32bit or the 64bit.
Reinstall the apache 2.4 and error should gone.
Download and install the proper version of Microsoft Visual C++ 2015 Redistributable Update 3 RC
regarding your hardware architecture (x86 / x64). Use the link below:
Microsoft Visual C++ 2015 Redistributable Update 3 RC
I'v already had VC 2015 Redist on my PC but files were not copied into Windows\System32
.
So I copied missing files directly to this folder. A thing that I should mention is since I compiled my application in X86
mode I copied them from
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\redist\x86
not
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\redist\x64
I know that this solution is not the ideal one, but it was a workaround for my case.
- Remove apache 2.4 from your pc
- Download VCRUNTIME140.dll from this link
- Copy VCRUNTIME140.dll file and paste it inside to Windows/System32
- Finally reinstall apache and run