php-cgi.exe -b 127.0.0.1:9123"; 2. Install Redistributable for Visual Studio."> How to solve php cgi.exe error problem-PHP Problem-php.cn

How to solve php cgi.exe error problem

藏色散人
Release: 2023-03-13 21:28:02
Original
4602 people have browsed it

Solution to php cgi.exe error: 1. Execute "c:\php7.1>php-cgi.exe -b 127.0.0.1:9123"; 2. Install Redistributable for Visual Studio.

How to solve php cgi.exe error problem

The operating environment of this article: Windows 10 system, PHP version 7.1, DELL G3 computer

How to solve the php cgi.exe error problem ?

php-cgi.exe – The application failed to start correctly

Running php-cgi.exe and clicking a popup dialog box with the following error message:

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

Terminal

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

Testing with PHP 7.1.10 on Windows 10

Solution

To run PHP on Windows you need to install Redistributable for Visual Studio, please refer to the official PHP download website, for example, if you downloaded the "PHP VC14 build" zip file, you need to install the Visual C Redistributable for Visual Studio 2015.

How to solve php cgi.exe error problem

Translated from: https://mkyong.com/nginx/php-cgi-exe-the-application-was-unable-to-start-correctly /

Recommended learning: "PHP Video Tutorial"

The above is the detailed content of How to solve php cgi.exe error problem. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!