502 bad gateway nginx/1.16.0 localwp on Windows 11

What issue or error are you experiencing?

Hi guys,

yesterday I downloaded local WP, because I’m learning this CMS in general and have bought an online course on Udemy, where the instructor starts to explain it with a local website that we’re going to build during the course.

So I went ahead and downloaded the software and set up the first project. This is what my interface currently looks like:

However, when I click on either “WP admin” or “Open Site”, I receive a 502 error code:

I have also attached the log files in the appendix of this post. Just FYI, my system is in German.

If anyone has an idea on what to do, I’m very grateful. It’s just very annoying to have these issues right from the start.


What steps can be taken to replicate the issue? Feel free to include screenshots, videos, etc


System Details

  • Local Version:

  • Operating System (OS) and OS version:

Windows 11, Version 23H2


Local Logs

Attach your Local Logs here (Help Doc - Retrieving Local’s Log)


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.
local-details.json (1.0 KB)
local-lightning-verbose0.log (72.6 KB)

Hi @dbaisal

I’m seeing this error most recently in your log:

{“class”:“Process”,“level”:“warn”,“message”:“PHP Warning: ‘C:\WINDOWS\SYSTEM32\VCRUNTIME140.dll’ 14.15 is not compatible with this PHP build linked with 14.29 in Unknown on line 0”,“process”:“phpCgi”,“thread”:“main”,“timestamp”:“2024-03-18T13:02:02.432Z”}

You might have to take some additional steps to resolve this system error. Here is an article that should help;

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