After an epic struggle my machine is now running Snow Leopard with an apache/php setup which actually works with postgres. I need a lie-down