Home > Backend Development > PHP Tutorial > PhpStorm 浏览器访问php文件时502错误

PhpStorm 浏览器访问php文件时502错误

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-20 12:39:37
Original
1392 people have browsed it

最近在ubuntu上配置LAMP环境,在PhpStorm上编辑php文件并浏览时,浏览器一直提示 502 bad gateway,百度一直找不到解决方法,最后在stackoverflow上找到了,如下:

sudo apt-get install php5-cgi
Copy after login

郁闷,原来是我在安装php的时候少装了这个家伙

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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template