composer在window上安装PHP8.0以上版本出错解决方案

93 阅读1分钟

composer在window上安装指定PHP版本如果在8.0以上,需要安装Visual C++ Redistributable依赖,如果系统上没有则需要安装。

  1. 地址:learn.microsoft.com/en-us/cpp/w…
  2. 点击: Visual Studio 2015, 2017, 2019, and 2022
  3. 如果是64位window,选择64位:X64 | aka.ms/vs/17/relea…