What a coincidence that just today a big discussion on this topic ensued on reddit.
http://www.reddit.com/r/PHP/comments/1fm8i3/modernizing_a_critical_production_app/
Would you generally prefer a ten year old app to be entirely rewritten rather than have it modernized in small increments?