Hmm.  Didn't get into the php52 block.  Maybe sh isn't bash.  or I'm bad at shell.