It was recently (2011) rewritten on top of Symfony2 -- http://symfony.com -- and more importantly a modern, documented, and stable framework. It was likely done because finding quality PHP programmers is easier than finding quality Perl programmers.
Re:Just how big are porn sites?
by culturestate on Wednesday April 04, 2012 @06:59PM
(#3800329)
When you say "it was rewritten...," which are you referring to?
except facebook wrote a compiler to get their PHP into c++ because it was too slow (but too much code to actually rewrite it).
Probably only because at their scale a 10% or even 5% reduction in the amount of servers equals millions of dollars a year.
For anyone with a handful of servers PHP is acceptable as the additional cost of 2-3 servers is not really that high.
I presume there's a lot of legacy code there.