41

My OS is Windows 7,x64.

I've downloaded files from the official server (Apache2.4), but my attempt to install it failed: httpd -k install ,typed in command prompt (it was opened by administrator) given a "no VCRUNTIME140.dll" error.

But i have Microsoft Visual C++ both x64 and x86 installed. What's the problem??

parsecer
  • 4,758
  • 13
  • 71
  • 140
  • 7
    Got it. THe answer is here - http://www.apachelounge.com/viewtopic.php?p=30853. "Quote from the download page: "Be sure that you have installed the Visual C++ Redistributable for Visual Studio 2015 RC : VC14 vcredist_x64/86.exe"" – parsecer Jul 18 '15 at 20:57
  • Please look on this link, Hope it will help you. http://stackoverflow.com/questions/30811668/php-7-missing-vcruntime140-dll – Vishal P Gothi Feb 08 '17 at 11:56

6 Answers6

71

Be sure you have C++ Redistributable for Visual Studio 2015 RC. Try to download the last version:

https://www.microsoft.com/en-us/download/details.aspx?id=52685

Obs: Credit to parsecer

Michael
  • 7,348
  • 10
  • 49
  • 86
graell
  • 834
  • 5
  • 11
5

I had same problem, my issue was that downloaded Apache 2.4 but 32 bits. Then re-download 64bits version and it's works.

I hope it helps you

  • Downloading 32bit application on a 64bit computer will not break anything, it just means memory is being wasted when the application is in memory. – Paulie Aug 09 '17 at 09:14
2

Also, please make sure you installed the correct version of apache on your computer. For example, not install a x86 on a 64bit system. Vice versa.

yueran
  • 43
  • 8
1

I was gone through same problem & I resolved it by following steps.

  1. Uninstall earlier version of wamp server, which you are trying to install.
  2. Install which ever file supports to your configuration (64, 86) from en this link
  3. Restart your computer.
  4. Install wampserver now.
Jitendra Pawar
  • 1,285
  • 15
  • 27
-1

Check if your OS is Windows 7 Service Pack 1.. use "winver" to verify.

Make sure Service Pack 1 is there after "Build #### : Service Pack 1"

Suraj Rao
  • 29,388
  • 11
  • 94
  • 103
Jerold
  • 1
-2

Problem: Wamp Won't Turn Green & VCRUNTIME140.dll error

Solved:)

You need C++ Redistributable for Visual Studio 2015 RC. Try to download the file, vc_redist.x64.exe from here, https://www.microsoft.com/en-us/download/details.aspx?id=48145

if you already installed then uninstalled it first

  1. I installed the vc_redist.x64.exe (if you OS is 32 bit then you should download vc_redist.x86.exe)
  2. then installed the wampserver (if you already installed then unsintalled it first)