# 502 Bad gateway with PHP higher then 7.3.5

**URL:** <https://community.localwp.com/t/502-bad-gateway-with-php-higher-then-7-3-5/34950>\
**Category:** Bugs\
**Tags:** mac\
**Created:** [December 31, 2022, 2:02pm UTC](https://community.localwp.com/t/502-bad-gateway-with-php-higher-then-7-3-5/34950 "2022-12-31T14:02:43Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![austinwendt](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/austinwendt/32/13912_2.png) [@austinwendt](https://community.localwp.com/u/austinwendt)\
**Post date:** [January 6, 2023, 4:46pm UTC](https://community.localwp.com/t/502-bad-gateway-with-php-higher-then-7-3-5/34950/6 "2023-01-06T16:46:42Z")

</div>

Based on what you said, the update to Local v6.6 is the difference - I realized I linked the wrong forum post! Here is what I meant to link: [502 Bad Gateway (nginx/1.16.0) in all sites after update - #12 by austinwendt](http://community.localwp.com/t/502-bad-gateway-nginx-1-16-0-in-all-sites-after-update/34030/12)

Which version of PHP are your sites running? I would try running through these steps - [502 Bad Gateway (nginx/1.16.0) in all sites after update - #35 by austinwendt](http://community.localwp.com/t/502-bad-gateway-nginx-1-16-0-in-all-sites-after-update/34030/35) - as it fixed the issue for a user with the same problem.

---

_[View the full topic](https://community.localwp.com/t/502-bad-gateway-with-php-higher-then-7-3-5/34950)._
