What to do if php-cgi.exe cannot be started

王林
Release: 2023-03-10 12:50:01
Original
2709 people have browsed it

The solution to the problem that php-cgi.exe cannot start correctly is to refer to the official php download website and install Redistributable for Visual Studio on your computer.

What to do if php-cgi.exe cannot be started

The operating environment of this article: windows10 system, php 7.1.10, thinkpad t480 computer.

Problem discovery:

When trying to run the php-cgi.exe program, the following prompt message appeared.

Application Error : The application was unable to start correctly (0xc000007b) Terminal c:\php7.1>php-cgi.exe -b 127.0.0.1:9123
Copy after login

Note: Tested with PHP 7.1.10 on Windows 10

Workaround:

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.

What to do if php-cgi.exe cannot be started

Related video sharing:php video tutorial

The above is the detailed content of What to do if php-cgi.exe cannot be started. 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!