Report an error to the official PHP document (PHP’s command line mode) to correct
1. URL:https://www.php.net/manual/zh/features.commandline.introduction.php. The file name of the CGI version is php-cli.exe. It should be modified to: the file name of the CGI version is php-cgi.exe. as shown in Figure 1
2. Switch to the English page, the CGI version is Distributed as php-cgi.exe. Therefore, you can determine the Chinese page error. as shown in Figure 2
3. How to know which SAPI you are using? At the command line, run php -v to know whether the php is cgi or the cli. In the Windows distribution, the CLI’s binary in the home directory is named php.exe. as shown in Figure 3
PS E:\wwwroot\channel-pub-api> php -v
PHP 7.4.6 (cli) (built: May 12 2020 11:38:54) ( ZTS Visual C++ 2017 x64 )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies
PS E:\wwwroot\channel-pub-api>
4. Click the Report a bug link, log in to GitHub, submit the error message and upload the picture. as shown in Figure 4
5. The final submission result. Reply has been received. The official has been corrected in git. as shown in Figure 5
6. After a few days, check the official document again, and it has been changed to: The file name of the CGI version is php-cgi.exe. as shown in Figure 6





