当前位置:首页 > 建站笔记 > 正文

如何解决php cgi.exe 错误问题

php cgi.exe错误的解决办法:1、执行“c:\php7.1>php-cgi.exe -b 127.0.0.1:9123”;2、安装Redistributable for Visual Studio即可。

本文操作环境:Windows10系统、PHP7.1版、DELL G3电脑

如何解决php cgi.exe 错误问题?

php-cgi.exe –应用程序无法正确启动

运行php-cgi.exe并单击一个弹出对话框,显示以下错误消息:

Application Error : The application was unable to start correctly (0xc000007b)

Terminal

c:\php7.1>php-cgi.exe -b 127.0.0.1:9123

在Windows 10上使用PHP 7.1.10测试

要在Windows上运行PHP,您需要安装Redistributable for Visual Studio ,请参考官方PHP下载网站 ,例如,如果您下载了“ PHP VC14 build” zip文件,则需要安装Visual Studio 2015的Visual C ++ Redistributable。

翻译自: https://mkyong.com/nginx/php-cgi-exe-the-application-was-unable-to-start-correctly/

发表评论