PHPstorm出现的端口号错误问题(502)

咔咔咔-听好

PhpStorm的默认端口是63342,但是在浏览器会提示502错误。

同时Phpstorm右下角会报错:Please ensure that configured PHP Interpreter built as CGI program (--enable-fastcgi was specified)

操作系统:Ubuntu18.04LTS

PhpStorm版本:2019.1.3

解决方案:进入终端模式,执行“sudo apt install php-cgi”(注意:旧版本的Ubuntu需要执行“apt-get install php-cgi”)。

猜你喜欢

转载自www.cnblogs.com/btsn/p/11247621.html