This post was updated 701 days ago and some of the ideas may be out of date.

如图,出现以下错误,原因是VCRUNTIME140.dll与PHP版本不兼容

解决方式

原因是PHP 8.0需要用到Visual Studio 2022的Microsoft Visual C ++ Redistributable工具,需要访问下载 Windows 版和 Mac 版 Visual Studio 2022进行下载

安装完毕后重新运行PHP即可