Custom - Preferred - Use same php and mysql version

I want to use a custom environment, actually just for the ‘conf’ folder to show up.
But when I select a custom environment it doesn’t let me choose the preferred options (php 7.29, mysql 5.7), which kinda makes sense but still… If I wanna do it, how can I?

1 Like

Hey @ncamaa

The preferred environment is purposely locked down a bit more so that it more closely mimics the remote site on Flywheel’s servers.

Basically this means that with custom environments, there’s a lot more access to the various versions of server software, as well as more immediate access to the conf folder and therefore the settings for the various server software.

There isn’t a way to open up that conf folder for a preferred environment, but if you want to try and adjust things by using ssh to edit the preferred environment from the command line, you can always try that.

Editing the preferred environment’s config isn’t something that we really recommend because it’s not really supported and any changes that are made might be overwritten at a later point, but if you really need to do so, you can give it a try!

In terms of longer-term options for managing different versions and configurations, the eventual completion of work on Local Lightning should help make this easier!

You can learn more about Local Lightning here: