I am right in the middle of a migration that requires 5.6 where I need to create a bunch of sites to do the move. Can I back-rev Local somehow (without nuking all my other sites) or somehow force the creation of 5.6-based sites?
Hi @dgewirtz - it is hacky, but technically possible… I’ll disclaim by saying this workflow won’t work forever as we’ll be marking PHP 5.6 as EOL inside Local soon.
Create a site with a newer PHP version (use 8.1.9, for example), Apache, and MySQL 5.7.
Site should create successfully.
Open site shell for the site
Run wp core update --version=6.2 --force (insert any value of WordPress you’d like, but 6.2 is the last version that was compatible with PHP 5.6).
In the Site Overview on Local, change the PHP version to 5.6. Site should update to the older PHP.
Import your content as needed.
Local will show an “Update to 6.3” prompt in the WordPress version field - don’t click this or your site will be incompatible and you’ll have to do the force update again.