Skip to content
Discussion options

You must be logged in to vote

the command you're missing is lerd isolate. run lerd isolate 8.4 from inside the project and it'll write .php-version, update .lerd.yaml, update the site registry, and rebuild the FPM container and vhost, which is the same path the dashboard dropdown uses.

editing .lerd.yaml and .php-version by hand won't work once a site is linked. the CLI reads the version straight from the site registry at that point and those two files only get consulted for directories that aren't linked yet, so your edits were being ignored. that's deliberate, it stops composer running on a different PHP than the container actually serving the site, but it does make hand editing look broken, which is fair enough. le…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@jhdcruz
Comment options

Answer selected by jhdcruz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants