Contrary to popular belief, YouTube was first built with PHP when it started, and not Python. It subsequently got replaced by Python in a piece-meal migration within 3 months after its public launch, using the mod_python Apache module and very likely the mpservlets framework .