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并单击一个弹出对话框,显示以下错误消息:
立即学习“PHP免费学习笔记(深入)”;
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/
推荐学习:《PHP视频教程》
以上就是如何解决php cgi.exe 错误问题的详细内容,更多请关注php中文网其它相关文章!
PHP怎么学习?PHP怎么入门?PHP在哪学?PHP怎么学才快?不用担心,这里为大家提供了PHP速学教程(入门到精通),有需要的小伙伴保存下载就能学习啦!
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号