Earlier quoted context omitted.
That PHP only got where it is today because of cheap hosting, down to the level of free beer, nothing more.
That doesn't explain how it beat a number of other technologies at the time -- including well established ones, like Perl.
The cheapest of them all was PHP with files being dumped via FTP upload.