windowsでphp7を実行したとき、下記のエラーが出る場合があります。
Unable to start the program as VCRUNTIME140.dll is missing on your computer.
Try reinstalling the program to fix this problem.
無いと出力されているVCRUNTIME140.dllですが、これはVisual C++ Runtime14.0の意味です。
ダウンロードページを見ると、下記の通りたしかにランタイムが必要との記載があります
VC11, VC14 & VC15
More recent versions of PHP are built with VC11, VC14 or VC15 (Visual Studio 2008, 2012 or 2015 compiler respectively)
– and include improvements in performance and stability.
– The VC14 builds require to have the Visual C++ Redistributable for Visual Studio 2015 x86 or x64 installed
該当のランタイムは、Microsoftのサイトより無料でダウンロード可能です。下記のリンクからダウンロードとインストールを行ってみて下さい。
Visual Studio 2015 の Visual C++ 再頒布可能パッケージ
https://www.microsoft.com/ja-JP/download/details.aspx?id=48145
関連記事
コメントを残す