windows VCRUNTIME140.dll 丢失

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/34482393/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-08 19:23:54  来源:igfitidea点击:

VCRUNTIME140.dll missing

windowsapachedll

提问by Ken4scholars

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?

尝试在 Windows 10 上安装 apache 2.4 时遇到问题。它始终显示缺少 VCRUNTIME140.dll 的错误。我检查了其他线程,发现安装 2015 Visual c++ Redistributables x64/x86 总是可以解决问题,但我都安装了,但仍然存在此问题。还有其他解决方案吗?

回答by thilina Kj

I had the same issue after installing wamp on windows 10.This worked for me.

在 Windows 10 上安装 wamp 后我遇到了同样的问题。这对我有用。

  • Download VCRUNTIME140.DLL
  • Copy the dll file to C:\Windows\System32using administrative privileges.
  • Try reinstalling apache.
  • 下载VCRUNTIME140.DLL
  • 将 dll 文件复制到C:\Windows\System32使用管理权限。
  • 尝试重新安装apache。

回答by Akjun

You need to install Microsoft Visual C++ 2015 Redistributable Update 3 RC, please find the link here, choose between the 32bit or the 64bit.

您需要安装 Microsoft Visual C++ 2015 Redistributable Update 3 RC,请在此处找到链接,在 32 位或 64 位之间进行选择。

Reinstall the apache 2.4 and error should gone.

重新安装 apache 2.4,错误应该消失了。

回答by user10496632

Download and install the proper version of Microsoft Visual C++ 2015 Redistributable Update 3 RCregarding your hardware architecture (x86 / x64). Use the link below:
Microsoft Visual C++ 2015 Redistributable Update 3 RC

下载并安装Microsoft Visual C++ 2015 Redistributable Update 3 RC有关您的硬件架构 (x86 / x64)的正确版本。使用以下链接:
Microsoft Visual C++ 2015 Redistributable Update 3 RC

回答by user6029831

On Windows 6 X64, got an error 500 on any PHP files, installing the 2015 Visual c++ Redistributables x64 solved my problem.

在 Windows 6 X64 上,任何 PHP 文件都出现错误 500,安装 2015 Visual c++ Redistributables x64 解决了我的问题。

回答by Orbay ?zkan

  1. Remove apache 2.4 from your pc
  2. Download VCRUNTIME140.dll from this link
  3. Copy VCRUNTIME140.dll file and paste it inside to Windows/System32
  4. Finally reinstall apache and run
  1. 从你的电脑中删除 apache 2.4
  2. 从此链接下载 VCRUNTIME140.dll
  3. 复制 VCRUNTIME140.dll 文件并将其粘贴到 Windows/System32
  4. 最后重新安装apache并运行

回答by Narender Kumar

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)

如果您使用的是 Microsoft Visual C/C++ 并且您已经下载了 VCRUNTIME140.DLL,请转到 Project Properties->Configuration Properties-> C/C++ -> Code Generation,Set Runtime Library Multi-threaded (/MT)

回答by VSB

I'v already had VC 2015 Redist on my PC but files were not copied into Windows\System32.

我已经在我的 PC 上安装了 VC 2015 Redist,但文件没有复制到Windows\System32.

So I copied missing files directly to this folder. A thing that I should mention is since I compiled my application in X86mode I copied them from

所以我将丢失的文件直接复制到这个文件夹中。我应该提到的一件事是因为我在X86模式下编译了我的应用程序,我从

C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\redist\x86

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

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.

我知道这个解决方案不是理想的解决方案,但它是我案例的一种解决方法。