WAMP 安裝——缺少檔案(VCRUNTIME140.DLL、API-MS-WIN-CRT-RUNTIME-L1-1-0.DLL、MSVCR110.DLL)

蘇亦坤發表於2018-10-01
  • win7 SP1 旗艦版
  • Wampserver 64bit v3.0.6

VCRUNTIME140.DLL

第一次安裝時,最後提示缺少 VCRUNTIME140.dll 檔案,於是嘗試下載安裝該檔案,均失敗。

第二次,參考了一篇文章,瞭解到 Wamp 官方網站在下載時有提示。因為是英文所以沒有在意,按照官網的連結,下載安裝了 VC12 的執行庫,結果仍提示失敗。

第三次,查閱其他資料,嘗試安裝 VC15 的執行庫,這個問題就解決了。接下來就提示缺失 API-MS-WIN-CRT-RUNTIME-L1-1-0.DLL 檔案。

相關的執行庫檔案下載地址在下方 “官方給的提示” 中給出,下載對應版本即可。

API-MS-WIN-CRT-RUNTIME-L1-1-0.DLL

這個問題是依靠安裝 windons 的一個更新 Windows Server 2008 R2 x64 Edition 更新程式 (KB2999226) 來解決。

參考了一篇文章,簡明扼要:

從官網下載了 WAMP3.0 並安裝,卻提示缺少 api-ms-win-crt-runtime-l1-1-0.dll 檔案,依照安裝需求安裝V15,無效。
然後依次VC9,VC10,VC11,VC13, VC15全裝了,依然沒有這個檔案。從另一臺伺服器複製這個檔案,用 regsvr32 註冊不了,求教51終於得到正解,這個檔案需要安裝 KB2999226 。至此解決。

官方解釋:
https://helpx.adobe.com/tw/creative-cloud/...
https://support.microsoft.com/zh-tw/kb/299...

KB2999226下載地址:
https://www.microsoft.com/en-us/download/d...

MSVCR110.DLL

沒有遇到缺失此檔案的提示,查閱相關資料,安裝 VC執行庫 應該就能解決該問題。

官方給的提示:

  — Visual C++ Packages —
  The MSVC runtime libraries VC9, VC10, VC11 are required for Wampserver 2.4, 2.5 and 3.0, even if you use only Apache and PHP versions with VC11. Runtimes VC13, VC14 is required for PHP 7 and Apache 2.4.17

  – VC9 Packages (Visual C++ 2008 SP1)
  http://www.microsoft.com/en-us/download/de...
  http://www.microsoft.com/en-us/download/de...
  
  – VC10 Packages (Visual C++ 2010 SP1)
  http://www.microsoft.com/en-us/download/de...
  http://www.microsoft.com/en-us/download/de...
  
  – VC12 Packages (Visual C++ 2012 Update 4)
  The two files VSU4vcredist_x86.exe and VSU4vcredist_x64.exe to be download are on the same page:
  http://www.microsoft.com/en-us/download/de...
  
  – VC13 Packages (Visual C++ 2013)
  The two files VSU4vcredist_x86.exe and VSU4vcredist_x64.exe to be download are on the same page:
  https://www.microsoft.com/en-us/download/d...
  
  – VC15 Packages (Visual C++ 2015)
  The two files vcredist_x86.exe and vcredist_x64.exe to be download are on the same page:
  http://www.microsoft.com/fr-fr/download/de...
  
  If you have a 64-bit Windows, you must install both 32 and 64bit versions, even if you do not use Wampserver 64 bit.
  
  不同版本對應的The MSVC runtime libraries也不一樣。建議安裝全了,要不會報錯誤(32bit 和 64bit 全都安裝)。

這段提示來自於 第三方Wamp下載頁 ,最後似乎說的是 VC執行庫 的 32位64位 都要裝,我沒有全裝但問題已經解決。

https://www.cnblogs.com/tnnyang/p/5988150....
http://blog.51cto.com/hiker88/1834669

歡迎大家補充~

本作品採用《CC 協議》,轉載必須註明作者和本文連結

相關文章