Facebook was created with PHP, a popular programming language in the late 1990s and early 2000s. Although PHP has a reputation for being difficult to scale, it allows developers to create web applications rapidly and easily. In the early days of Facebook, the company was quickly growing in all areas.