Port number error problem (502) PHPstorm appear

Kaka Ka - Listen

PhpStorm default port is 63342, but in the browser prompts 502 errors.

 

At the same time the lower right corner Phpstorm will complain: Please ensure that configured PHP Interpreter built as CGI program (--enable-fastcgi was specified)

Operating System: Ubuntu18.04LTS

 

PhpStorm Version: 2019.1.3

 

Solution: enter terminal mode, execute "sudo apt install php-cgi" (Note: older versions of Ubuntu need to do "apt-get install php-cgi").

Guess you like

Origin www.cnblogs.com/btsn/p/11247621.html