For the record, I didn’t have nearly as much trouble with homebrew as that blog poster did. The Mountain Lion command-line tools were available in the Apple Developer download section; I didn’t have to accept a separate license for them because I never use sudo to compile (it only requires you to accept the license if you aren’t running the tools as the one who installed it, AFAIK); homebrew told me I should download XQuartz; I installed it and didn’t have to move it anywhere. Central Apache configuration files needed to be recreated (but as I observed on my post about the subject, the basic configuration required is much simpler), but since my custom-built PHP has its configuration in /usr/local, it wasn’t touched at all.
For the record, I didn’t have nearly as much trouble with homebrew as that blog poster did. The Mountain Lion command-line tools were available in the Apple Developer download section; I didn’t have to accept a separate license for them because I never use sudo to compile (it only requires you to accept the license if you aren’t running the tools as the one who installed it, AFAIK); homebrew told me I should download XQuartz; I installed it and didn’t have to move it anywhere. Central Apache configuration files needed to be recreated (but as I observed on my post about the subject, the basic configuration required is much simpler), but since my custom-built PHP has its configuration in /usr/local, it wasn’t touched at all.