I am currently running Local 9.0.5 and 9.0.3 on macOS sonoma 14.6.1 as well as Big Sur 11.7.10 and using a website I migrated using WP Migrate.
Any edits I make to PHP file (e.g. plugins) is not being reflected on the site. Even if i stop the site, change the web server and PHP version, it will continue to show whatever the site was when it was first restored.
In fact, I can delete entire plugin folders from the file system, empty the trash and the DEV site will continue on as if that plugin was still there
There are many different types of cache. When you’re running into this problem have you done any troubleshooting to see if the cache could be stuck in your browser or your network?
You may need to try clearing the cache and cookies on your browser and then closing your active sessions to start with a clean slate.
You may also try utilizing a different browser (Firefox, Safari, Internet Explorer if you’re using Chrome for example) or an Incognito window to troubleshoot further.
The easiest way to open an Incognito window is with the keyboard shortcut combination Ctrl-Shift-N (Windows) or Command-Shift-N (macOS). Another way is to click on the menu on the upper right — it’s three vertical dots — and select New Incognito Window from the list.
To troubleshoot network caching, there are several things you could try. Restarting your device, restarting the network router/modem, using a VPN connection, or adding a cache-breaking path to the end of the site that’s cached. Adding /? followed by any 4 random characters (/?1234 for example) will sometimes break the cache as well.
You may also want to make sure none of the plugins or themes are storing cache or have a “Regenerate CSS” option: