My site doesn't load when i use php version 8 and above

Bug Summary

My wordpress site does not load for php version 8 and above. It gives me a 502 Bas Gateway error when i try to load the site. It only loads for php version 7.4 and below
Summarize the issue in one to two sentences.

Steps to reproduce

Zip a site and upload it. Then the wordpress version never loads up in the local ui. Pressing WP Admin gives me a 502 bad gateway error
As precisely as you can, list the steps it takes to reliably reproduce the issue.

Environment Info

Web Server - nginx
Database - MySQL 8.0.16
Wordpress Version - (Doesn’t show)

Describe your environment.

  • Windows 10
  • Nginx
  • Local version 6.7.2+6375

Supporting info

Please provide your Local Log. See this Community Forum post for instructions on how to do so:
local-lightning.log (105.9 KB)

Include any screenshots or video recordings of the issue to help others reproduce.


Hi @ashif571

There is an error in your log repeating like this:

{"thread":"main","class":"Process","process":"phpCgi","level":"warn","message":"PHP Warning:  'C:\\Windows\\SYSTEM32\\VCRUNTIME140.dll' 14.13 is not compatible with this PHP build linked with 14.29 in Unknown on line 0","timestamp":"2023-05-30T08:31:45.579Z"}

For more information on resolving this error, check here:
http://community.localwp.com/t/when-i-am-intalling-the-local-to-the-step-of-the-following-picture-it-can-not-continue/33623/10

1 Like

I thought these vcr files install automatically when you download the latest version? Anyway Thanks for the help @Nick-B . Appreciate it.

Sorry for any confusion on that @ashif571! Hopefully, that fixed you up. Happy Developing :slight_smile:

1 Like

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