# Local works with macOS 27

**URL:** <https://community.localwp.com/t/local-works-with-macos-27/52532>\
**Category:** From the Local Team\
**Created:** [September 8, 2026, 5:04pm UTC](https://community.localwp.com/t/local-works-with-macos-27/52532 "2026-09-08T17:04:26Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![cybertronAntics85](https://avatars.discourse-cdn.com/v4/letter/c/53a042/32.png) [@cybertronAntics85](https://community.localwp.com/u/cybertronAntics85)\
**Post date:** [September 23, 2026, 10:13am UTC](https://community.localwp.com/t/local-works-with-macos-27/52532/4 "2026-09-23T10:13:28Z")

</div>

I had an issue also saying 502 bad gateway, running ngnix. Im on a Mac using OS 27 (Golden Gate)

What solved it for me was going into:

~/Library/Application Support/Local/lightning-services

and deleting all the stuff in there (php versions, mysql versions etc etc), starting Local back up, and when you attempt to open a site youre working on in local, it will redownload the needed files and voila, it worked.

Worth noting I have Mac OS 27 too.

I should point out that I did not need to upgrade the version of PHP I was using. When the site worked again, it was still using the same version, being 8.2.27. Deleting all the stuff in the lightning folder was the go to solution that worked for me.

Something about the cached server binaries compiled for my previous OS version being an issue?

Either way it works for me. Might save someone else from pulling their hair out if someone runs into the same issue.

---

_[View the full topic](https://community.localwp.com/t/local-works-with-macos-27/52532)._
