Engineering decisions made in 2003 need not dictate the future of the company more than a decade later. Keep the systems that are written in PHP around for their nature life. Write new systems in whatever is more sensible at the time. Lazy-load your way out of shitsville.
Of course this is vastly complicated if they been neglecting modularity and SOA for the past decade and most of facebook is still a monolith.....