首頁  >  文章  >  後端開發  >  如何解決php cgi.exe 錯誤問題

如何解決php cgi.exe 錯誤問題

藏色散人
藏色散人原創
2021-11-18 09:12:024652瀏覽

php cgi.exe錯誤的解決方法:1、執行「c:\php7.1>php-cgi.exe -b 127.0.0.1:9123」;2、安裝Redistributable for Visual Studio即可。

如何解決php cgi.exe 錯誤問題

本文操作環境: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。

如何解決php cgi.exe 錯誤問題

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

推薦學習:《PHP影片教學

以上是如何解決php cgi.exe 錯誤問題的詳細內容。更多資訊請關注PHP中文網其他相關文章!

陳述:
本文內容由網友自願投稿,版權歸原作者所有。本站不承擔相應的法律責任。如發現涉嫌抄襲或侵權的內容,請聯絡admin@php.cn