Can anyone help me with finding the remote host and remote port like the below article. I know that this user is using an older version of Local. How would I find it in Local Lighting.
Can you describe in a little more detail what you’re trying to do?
The recent versions of Local (the 5.x versions and above) don’t make use of Docker and instead install and configure MySQL directly on the computer. Because of this, there isn’t a need to ssh into the Local site in order to run terminal commands.
That being said, each site does have its own configuration for PHP, NGINX and MySQL. When you right-click on the site within Local and select “Open Site Shell” this basically runs a few commands to set that terminal’s context to that specific Local site. This includes things like:
Which DB configuration to use
What PHP configuration to use
Add wp-cli to your path
An example of what script is run, can be seen at the top of the terminal after opening the site shell, and looks something like this: