# 502 Bad Gateway nginx/1.16.0 MAC Mojave 10.14.6

**URL:** <https://community.localwp.com/t/502-bad-gateway-nginx-1-16-0-mac-mojave-10-14-6/36344>\
**Category:** Archived Support\
**Tags:** mac\
**Created:** [April 4, 2023, 2:11pm UTC](https://community.localwp.com/t/502-bad-gateway-nginx-1-16-0-mac-mojave-10-14-6/36344 "2023-04-04T14:11:28Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![jaime](https://avatars.discourse-cdn.com/v4/letter/j/4bbf92/32.png) [@jaime](https://community.localwp.com/u/jaime)\
**Post date:** [April 4, 2023, 2:11pm UTC](https://community.localwp.com/t/502-bad-gateway-nginx-1-16-0-mac-mojave-10-14-6/36344/1 "2023-04-04T14:11:28Z")

</div>

### Issue Summary

I just installed LocalWP for the first time. It’s imposible for me to make it work.  
Everything seems to be fine. WP is installed but when I try to get to the Admin Panel it gives me this error.

502 Bad Gateway nginx/1.16.0

#### Troubleshooting Questions

It happens in all WP I tried to install and there is nothing else than the plain WP.  
I tried to change PHP version and web server but still imposible to use LocalWP

#### Replication

Describe the steps that others can take to replicate this issue. If you have screenshots that can help clarify what is happening, please include them!

#### System Details

- Which version of Local is being used?

MAC OS Mojave 10.14.6

### Security Reminder

Local does a pretty good job of scrubbing private info from the logs and the errors it produces, however there’s always the possibility that something private can come through. Because these are public forums, always review the screenshots you are sharing to make sure there isn’t private info like passwords being displayed.

 ![Captura de pantalla 2023-04-04 a las 16.08.00](https://us1.discourse-cdn.com/flex019/uploads/lwpforums/original/3X/f/8/f8fcf68ecd6a12fb76e66f6325d8d6f52d665431.png)  
 ![04.04 - Xdebug 3.1.5 - prueba-8.local](https://us1.discourse-cdn.com/flex019/uploads/lwpforums/original/3X/c/0/c0dc47976c3afe03872b1184fa97c0ac384de34a.jpeg)

---

<div class="post-metadata">

**Author:** ![Nick-B](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/nick-b/32/16140_2.png) [@Nick-B](https://community.localwp.com/u/Nick-B)\
**Post date:** [April 4, 2023, 2:53pm UTC](https://community.localwp.com/t/502-bad-gateway-nginx-1-16-0-mac-mojave-10-14-6/36344/2 "2023-04-04T14:53:33Z")

</div>

Hi @jaime

Due to your OS being older than 10.15, this is expected. If you change the PHP version down to 7.3.5 I believe you should be able to get it to work.

> **[Install Local](https://localwp.com/help-docs/getting-started/installing-local/)**
>
> Installing Local should be easy, but if you're having trouble, this is guide should help! In general, you'll need at least: This should be enough to install Local as well as create a few new WordPress…

---

<div class="post-metadata">

**Author:** ![jaime](https://avatars.discourse-cdn.com/v4/letter/j/4bbf92/32.png) [@jaime](https://community.localwp.com/u/jaime)\
**Post date:** [April 4, 2023, 2:55pm UTC](https://community.localwp.com/t/502-bad-gateway-nginx-1-16-0-mac-mojave-10-14-6/36344/3 "2023-04-04T14:55:27Z")

</div>

Thanks @Nick-B !  
I’ll try right now!

---

<div class="post-metadata">

**Author:** ![jaime](https://avatars.discourse-cdn.com/v4/letter/j/4bbf92/32.png) [@jaime](https://community.localwp.com/u/jaime)\
**Post date:** [April 4, 2023, 2:56pm UTC](https://community.localwp.com/t/502-bad-gateway-nginx-1-16-0-mac-mojave-10-14-6/36344/4 "2023-04-04T14:56:28Z")

</div>

Great! It worked!  
🙂

---

<div class="post-metadata">

**Author:** ![Nick-B](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/nick-b/32/16140_2.png) [@Nick-B](https://community.localwp.com/u/Nick-B)\
**Post date:** [April 4, 2023, 2:56pm UTC](https://community.localwp.com/t/502-bad-gateway-nginx-1-16-0-mac-mojave-10-14-6/36344/5 "2023-04-04T14:56:47Z")

</div>

Glad to hear it! Happy Developing 🙂

---

<div class="post-metadata">

**Author:** ![system](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/system/32/1_2.png) [@system](https://community.localwp.com/u/system)\
**Post date:** [April 6, 2023, 2:57am UTC](https://community.localwp.com/t/502-bad-gateway-nginx-1-16-0-mac-mojave-10-14-6/36344/6 "2023-04-06T02:57:13Z")

</div>

Closed on April 6, 2023, 2:57am UTC

This topic was automatically closed 36 hours after the last reply. New replies are no longer allowed.
