Home >Development Tools >phpstorm >phpstorm appears 502 bad getway

phpstorm appears 502 bad getway

angryTom
angryTomOriginal
2019-08-08 09:24:076428browse

phpstorm appears 502 bad getway

When phpstrom runs the file, a 502 Bad Gateway error will appear. The following will introduce the solution to this problem.

Recommended tutorial: phpstrom installation and usage tutorial

##Open PhpStorm, menu bar File --> Settings...

1. Click on

Languages ​​& Frameworks and selectPHP language level:Select the PHP version, and then click next to the CLI Interpreter drop-down arrow "...", a dialog box will pop up, click the green " " sign, select Other Local...

phpstorm appears 502 bad getway

Then Browse to php.exe at PHP executable, and finally OK.

phpstorm appears 502 bad getway## 2. Click on

Build, Execution, Deployment

and select Deployment, and then click on the green " " sign , a dialog box pops up, customize a name in the Name field, select Local or mounted folder in the Type drop-down box, and then OK

phpstorm appears 502 bad getway##Connection

Tab

In the Folder under Upload/download project files, select the directory where you store the php files

phpstorm appears 502 bad getway Mappings

tab

Deployment path on server Select the directory where you just stored the php file

The above is the detailed content of phpstorm appears 502 bad getway. For more information, please follow other related articles on the PHP Chinese website!

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

Related articles

See more