This post was updated 701 days ago and some of the ideas may be out of date.
如图,出现以下错误,原因是VCRUNTIME140.dll与PHP版本不兼容
![](https://www.eyabc.cn/wp-content/uploads/2022/08/SK15E0HG05C71HIO5-1024x123.png)
解决方式
原因是PHP 8.0需要用到Visual Studio 2022的Microsoft Visual C ++ Redistributable工具,需要访问下载 Windows 版和 Mac 版 Visual Studio 2022进行下载
![](https://www.eyabc.cn/wp-content/uploads/2022/08/image-1024x217.png)
安装完毕后重新运行PHP即可
![](https://www.eyabc.cn/wp-content/uploads/2022/08/B9RZHBBCUUPHGIA1ENG.png)
参与讨论