phpstorm出現 502 bad getway

phpstorm出現 502 bad getway

phpstrom運行文件時會出現502 Bad gateway錯誤,下面就為大家介紹一下這個問題的解決辦法。

推薦教程:phpstrom安裝使用教程

打開phpstorm,菜單欄File –> Settings…

  一、點開Languages & Frameworks?選PHP language level:選PHP版本,再單擊CLI Interpreter 下拉箭頭旁邊的“…”,彈出一個對話框,單擊綠色的“+”號,選Other Local…?

立即學習PHP免費學習筆記(深入)”;

phpstorm出現 502 bad getway

  然后PHP executable 處瀏覽到php.exe ,最后OK確定。

phpstorm出現 502 bad getway

  二、點開Build, Execution, Deployment?選Deployment?, 然后點擊那個綠色的“+”號,彈出一個對話框,Name處自定義一個名稱,Type下拉框中選 Local or mounted folder,然后OK

phpstorm出現 502 bad getway

  Connection選項卡 Upload/download project files 下的Folder選你存放php文件的目錄

phpstorm出現 502 bad getway

  Mappings選項卡處的Deployment path on server 選你剛才存放php文件的目錄

phpstorm出現 502 bad getway

? 版權聲明
THE END
喜歡就支持一下吧
點贊8 分享