错误错误网关 NGINX 502 PHP-FPM fastcgi
我的老板正在摆弄这个页面,突然它停止工作并开始给我们一个 502 Bad Gateway 错误。您能看到什么可以解释为什么会发生这种情况吗?
<ul id="menu">
<li><a href="?p=tenuta_a_deo.html">About A Deo</a></li>
<li>
<a href="?p=our_wines">Our Wines</a>
<ul>
<li><a href="?p=our_wines/tenuta_a_deo_red.html">Tenuta A Deo - Red</a></li>
<li><a href="?p=our_wines/tenuta_a_deo_white.html">Tenuta A Deo - White</a></li>
<li><a href="?p=our_wines/tenuta_a_deo_oil.html">Tenuta A Deo - Oil</a></li>
<li><a href="?p=our_wines/popova_kula.html">Popova Kula</a></li>
<li><a href="?p=our_wines/kokino.html">Kokino</a></li>
</ul>
</li>
<li><a href="?p=lucca_olive_oil.html">Lucca Olive Oil</a></li>
<li>
<a href="?p=vacation_rentals">The Farm</a>
<ul>
<li><a href="?p=vacation_rentals/villa_lucca.html">Villa Lucca</a></li>
<li><a href="?p=vacation_rentals/casa_casciani.html">Casa Casciani</a></li>
<li><a href="?p=vacation_rentals/tenuta_a_deo.html">Tenuta A Deo</a></li>
<li><a href="?p=vacation_rentals/tourist_information.html">Tourist information</a></li>
</ul>
</li>
<li><a href="?p=how_to_purchase.html">How to Purchase</a></li>
<li><a href="?p=gallery.php">Gallery</a></li></ul>
My boss was messing around with this page and suddenly it stopped working and started giving us a 502 Bad Gateway error. Is there anything you can see that explains why this happened?
<ul id="menu">
<li><a href="?p=tenuta_a_deo.html">About A Deo</a></li>
<li>
<a href="?p=our_wines">Our Wines</a>
<ul>
<li><a href="?p=our_wines/tenuta_a_deo_red.html">Tenuta A Deo - Red</a></li>
<li><a href="?p=our_wines/tenuta_a_deo_white.html">Tenuta A Deo - White</a></li>
<li><a href="?p=our_wines/tenuta_a_deo_oil.html">Tenuta A Deo - Oil</a></li>
<li><a href="?p=our_wines/popova_kula.html">Popova Kula</a></li>
<li><a href="?p=our_wines/kokino.html">Kokino</a></li>
</ul>
</li>
<li><a href="?p=lucca_olive_oil.html">Lucca Olive Oil</a></li>
<li>
<a href="?p=vacation_rentals">The Farm</a>
<ul>
<li><a href="?p=vacation_rentals/villa_lucca.html">Villa Lucca</a></li>
<li><a href="?p=vacation_rentals/casa_casciani.html">Casa Casciani</a></li>
<li><a href="?p=vacation_rentals/tenuta_a_deo.html">Tenuta A Deo</a></li>
<li><a href="?p=vacation_rentals/tourist_information.html">Tourist information</a></li>
</ul>
</li>
<li><a href="?p=how_to_purchase.html">How to Purchase</a></li>
<li><a href="?p=gallery.php">Gallery</a></li></ul>
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
![扫码二维码加入Web技术交流群](/public/img/jiaqun_03.jpg)
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
502 Bad Gateway
错误不是由静态 HTML 引起的,就像您刚才显示的那样。服务器可能存在内部错误或与其他服务器通信时出错 - 可能存在(临时)过载,或者无法访问其他服务器/服务。当您清除缓存或使用其他浏览器/计算机时,还会发生这种情况吗?
您能否告诉我们更多有关您的网络服务器及其与其他服务器/服务的链接的信息?
A
502 Bad Gateway
error is not caused by static HTML like you just displayed.The server was probably having an internal error or an error communicating with other servers - maybe there was a (temporary) overload, or another server/service was not reachable. Does it still happen when you clear your cache or use another browser/computer?
Can you tell us more about your webserver, and its links to other servers/services?
502
的原因不在页面上。看起来更像是服务器或网络组件(路由器)上的配置问题。The cause for the
502
is not on the page. Looks more like a configuration issue, either on the server or on a network component (router).从 C 盘的 PHP 目录中找到 php-cgi 文件,然后转到您的 IDE 并按照以下步骤操作:
设置 -> 语言和语言框架->PHP->CLI解释器->C:\PHP7\php-cgi
find the php-cgi file from PHP directory in C drive then go to your IDE and follow the step below:
settings->Language & Frameworks->PHP->CLI interpreter->C:\PHP7\php-cgi