I've been using macports for my MAMP projects for quite some time, but I don't think that the command line server management for Apache and MySQL Server, both from macports, is the best way to do it. I'd like to be able to control those server from one GUI. So, I was wondering if it's possible to configure Lion Server to work with macports' apache version instead of it's native version. Is it possible? What about MySQL Server? Is there a way to control it using Lion server?
Mac OS X Lion Server and Macports – Can they work together
apachemacportsMySQLserver.app
Related Question
- MacOS – GUI front-end to Apache for Mac OS X (Lion)
- macOS – How to Turn Lion into a Web Server
- macOS – Fix Apache 2 UserDir Issues After Upgrading to Mountain Lion
- MacOS – Install Apache, PHP and MySQL on Mac w/o MacPorts
- Mac Server setup for small office
- MacOS – localhost loads default apache page
- How to run/manage websites on macOS versions *after* High Sierra
Best Answer
The short and easy answer is no - you can't just flip a switch to point all the Lion tools and scripts to the same (or similar) programs at a different path.
The longer answer, is yes - you can of course replace binary files, and test to make sure all the scripts work and patch any issues that arise either out of changed functionality or in the event that the Apple tools depend on a specific version of your web or database server.
Everyone I know that wants to install different software on top of Lion just turns off the Lion versions and controls the deployment with other tools like explicit paths, controlling the $PATH variable and alternate control and reporting structures.