本文摘自PHP中文网,作者爱喝马黛茶的安东尼,侵删。

phpstorm配置:依次点击phpstorm的“settings->Build, Execution, Deployment->Deployment”
点击新建,自定义name。
相关推荐:《PhpStorm使用教程》
在Connection选项卡中,
将type设为:Local or mounted folder;
将Folder改为“你的www目录”。
在Mappings选项卡中,
将Web server root URl改为:http://localhost 或 http://127.0.0.1即可。
以上就是PHPStorm2019出现错误网关怎么办的详细内容,更多文章请关注木庄网络博客!
相关阅读 >>
怎么使用web/phpstorm将本地代码实时自动同步到远程服务器
更多相关阅读请进入《phpstorm》频道 >>