Facebook began using HipHop (their PHP compiler) at a time when they already had 200 million users and a website that by definition is very hard to cache. So in other words, PHP without Facebook's custom compiler was able to handle a site having 200 million frequently returning users. I'd say that's pretty good.
If OP had thrown more hardware (and hardware costs) at the equation his problems would have reduced.