# Nginx/0.8.54 502 bad gateway,very strange

**URL:** <https://www.ruby-forum.com/t/nginx-0-8-54-502-bad-gateway-very-strange/210528>\
**Category:** NGINX\
**Created:** [August 10, 2011, 1:09pm UTC](https://www.ruby-forum.com/t/nginx-0-8-54-502-bad-gateway-very-strange/210528 "2011-08-10T13:09:35Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![dubstep](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/cdc98d/32.png) [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Post date:** [August 10, 2011, 1:09pm UTC](https://www.ruby-forum.com/t/nginx-0-8-54-502-bad-gateway-very-strange/210528/1 "2011-08-10T13:09:35Z")

</div>

hi, guys.  
I have a big problem, it torture me two days.  
centos 4.7, nginx 0.8.54, php 5.2.14.  
There’s a page, it’s has four frames each include a php file.  
502 bad gateway occured when I use chrome open it.  
But seldom happened when I use IE.  
because IE load four php filese sequenced, but chrome paralleled  
load the four php files.  
I test a single php file with LoadRunner, no 502 happened.

```
It's confused me.
thanks a lot.

```

Posted at Nginx Forum:

> **[nginx/0.8.54 502 bad gateway,very strange](https://forum.nginx.org/read.php?2,213624,213624#msg-213624)**
>
> hi, guys. I have a big problem, it torture me two days. centos 4.7, nginx 0.8.54, php 5.2.14. There's a page, it's has four frames each include a php file. 502 bad gateway occured when I use chrome open it. But seldom happened when I use IE.

---

<div class="post-metadata">

**Author:** ![zhuokun](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/z/3da27b/32.png) [@zhuokun](https://www.ruby-forum.com/u/zhuokun)\
**Post date:** [August 10, 2011, 7:23pm UTC](https://www.ruby-forum.com/t/nginx-0-8-54-502-bad-gateway-very-strange/210528/2 "2011-08-10T19:23:53Z")

</div>

I have solved this problem.  
just change fastcgi address from unix sock to tcp .  
good luck to us.  
perhaps it’s a bug on this version.

Posted at Nginx Forum:

> **[Re: nginx/0.8.54 502 bad gateway,very strange](https://forum.nginx.org/read.php?2,213624,213645#msg-213645)**
>
> hi, guys. I have a big problem, it torture me two days. centos 4.7, nginx 0.8.54, php 5.2.14. There's a page, it's has four frames each include a php file. 502 bad gateway occured when I use chrome open it. But seldom happened when I use IE.
