jeremycellis wrote:
So I don't think I actually have a php 5.2.x binary. Is it possible to actually downgrade the php 5.3.x CLI install?
You don't want to change the system version. You can certainly download the PHP source, compile it, and install it into /usr/local and it should run fine. Even better, since you only need this for the command line client, you don't have to worry about having a matching Apache. Just make sure that your full 5.2 PHP completely matches your .so version in terms of build settings and libraries.
I wish macs came with apt-get or a similar package manager because I think this would be easier if so.
That is by design. Apple doesn't want to have to deal with a moving target OS when updating. There is no "Linux operating system" - singular. Each individual Linux machine is a unique OS.
If you want there are a number of 3rd party package managers for MacOS X. I think they are useful only in some very specific circumstances. If you jump to them without knowing all of the side effects, you could get burned. If you do the required research and have good knowledge of MacOS X and how the 3rd party package manager works, you can use it effectively. If you don't pay attention, you could wind up unable to build or run even the simplest open-source projects.