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 t
On Windows 6 X64, got an error 500 on any PHP files, installing the 2015 Visual c++ Redistributables x64 solved my problem.
I had the same issue after installing wamp on windows 10.This worked for me.
C:\Windows\System32
using administrative privileges.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.
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.
If you are using Microsoft Visual C/C++ and you have already downloaded VCRUNTIME140.DLL, Go to Project Properties->Configuration Properties-> C/C++ -> Code Generation, Set Runtime Library Multi-threaded (/MT)