PHP: Hypertext Preprocessor is the most popular language used on the web. Around 77.6% of all websites run PHP in some way as of April 2022. PHP has been the driving force behind the growth of the web, but is it slowly dying? Let’s look at some PHP statistics.
Why is PHP so popular?
PHP first arrived on the scene in 1995 and it quickly became the go-to language for building web pages. The language grew in popularity from the ease of integrating PHP code into HTML.
PHP has a number of built-in functions that help speed up development. With the release of frameworks that included built-in libraries and tools, the speed of development drastically increased.
Did you know Facebook was first built on PHP 4.3? This was the first version that introduced the PHP command-line interface (CLI).
In 2003, WordPress was released which made it easier to create blogs and websites. WordPress now powers over 37% of the entire web alone!
PHP Version Usage Stats
As of writing, PHP 8.1 is the latest version released. Below are some stats that show the usage figures for each PHP version.
Over 18,000 websites are using the same version of PHP as Facebook used back in 2004! The stats also show that around 872,820,000 websites are running unsupported versions of PHP. Learn how to change your PHP version.
PHP usage over the years
PHP began to see a rise in usage between 2011 and 2018, before a slow drop off to the present day. This rise can possibly be attributed to the release of Laravel, the most popular PHP Framework.
PHP usage statistics vs other service side languages:
PHP isn’t going anywhere any time soon. With the help of WordPress and Laravel, it has cemented itself in the foundations of the web.