最近在ubuntu上配置LAMP环境,在PhpStorm上编辑php文件并浏览时,浏览器一直提示 502 bad gateway,百度一直找不到解决方法,最后在stackoverflow上找到了,如下:
sudo apt-get install php5-cgi
郁闷,原来是我在安装php的时候少装了这个家伙
Statement:
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