PhpStorm端口错误问题
PhpStorm的默认端口是63342,但是在浏览器会提示502错误。同时Phpstorm右下角会报错:Please ensure that configured PHP Interpreter built as CGI program (--enable-fastcgi was specified)
操作系统:Ubuntu16.04LTS
PhpStorm版本:2016.3.2
解决方案:进入超级管理员模式,执行“apt install php-cgi”(注意:旧版本的Ubuntu需要执行“apt-get install php-cgi”)。
参考链接:https://blog.jetbrains.com/phpstorm/2013/09/built-in-webserver-in-phpstorm/