Hi. I’m knew to the Homebrew world.
I recently installed Homebrew on my MacMini and used it to get the latest version of Apache.
(The built-in version of Apache was only v2.4.34 which lacks some security updates.)
A question I have is: How does Terminal (or the Mac OS for that matter), know which Apache version to run when you type commands like ‘sudo apachectl start’. (I can tell it’s running the new Homebrew version.)
The reason I ask is that I am migrating a configuration from the old Apache to the new Homebrew version. I think I can figure out how to modify the new configuration files to make the new install work like the old, but it would be nice to be able to switch between the two Apache versions.
For example, my current production server “works”, but I’m not confident the new one will, so it would be nice to be able to switch between the two on the fly. Is this possible?
Thanks. (Great installer BTW).