Help with conjoined apaches

Ryan Schmidt ryandesign at macports.org
Fri Apr 27 17:56:55 PDT 2012


On Apr 27, 2012, at 18:38, Jeff Greenberg wrote:

> I installed macports lamp, and what seems to be happening is that apachectl reports based on the osx stack in terms of where the config file is, the vhosts, etc, and apache uses its config files too. But requesting a page seems to use the macports server path and ignore the vhosts. Should I remove the macports stack and just add mysql to lion's apache, or is there a way to straighten out this mess?

I don't think there's a mess, I just think there's a misunderstanding that you think running "apachectl" will get you the version installed by MacPorts, and that's not usually the case, unless as Jeremy said you modified your PATH. So either modify your PATH, or just run the MacPorts apachectl by its full path.




More information about the macports-users mailing list