Sorry that you encountered this, @DavidG.
On macOS you can try:
- Stop all sites and quit Local.
- Open the Finder.
- Choose Go → Go to Folder, paste the following and press Enter:
~/Library/Application Support/Local/lightning-services/
. - Delete all folders in the lightning-services folder.
- Start Local and start your site - it should redownload the corrupted version of PHP.