
Nginx 502 BAD GateWay错误解决方法 今天,我的VPS提示Nginx 502 Bad Gateway错误了,很烦。我什么事情都没做呀,有点想不通,怎么这次就出现了502 Bad Gateway?郁闷啊!在搜索了一下,发现一篇文库文档,终于找到了不少相关的答案,希望修改之后不会再出现这个错误了。 First, 502 bad gateway meaning 502 Bad Gateway English translates into 502 types of errors or invalid gateways, where 502 refers to the e 502 Bad gateway How to solve Time of Update: Suche nach Stellenangeboten im Zusammenhang mit 502 bad gateway nginx laravel, oder auf dem weltgrößten freelancing Marktplatz mit 19m+ jobs. In some relatively rare situations, two servers may take too long to communicate (a gateway timeout issue) but will incorrectly, or at least unconstructively, report the problem to you as a 400 Bad Request. Build business dashboards, charts & reports in minutes. In the IDE, go to Preferences | PHP and click. Make the changes in the PhpStorm preferences Again, change '55' to your version, if not php 5.5. Sudo /opt/local/apache2/bin/apachectl restartĬreate a symlink in /opt/local/bin. I do the following in my environment so it doesn't mistakenly use the apache instance that came with OS X Sudo port install php55 +apache2+fastcgi fcgi php55-cgi If you're using, for example, php 5.4, change the '55' to '54'. Install cgi for your version of php. I'm using php 5.5. I'm using Macports on my Mac, and here is what I needed to do in order to get xdebug working for standalone scripts.

It would jump to the browser, which would give a Bad Gateway error, and the IDE would give me a popup complaining that php-cgi could not be found. Once I got it working in the browser, it would no longer debug a script within the IDE. This turned out not to be a PhpStorm issue (see content/phpstorm-and-xdebug-browser-missing-instruction), but the time and effort it took to resolve revealed again that, often, the PhpStorm help file is all but helpful.īefore I succeeded in getting it working with xdebug in the browser, it was working with xdebug within the IDE, debugging a standalone script. The latest problem I had was getting it to work with xdebug in the browser (again) after upgrading to version 8. I love PhpStorm, but even though I've been using it forever, much of it remains a mystery.
