Updated

Technology · Code & frameworks

PHP

php.net

What is PHP?

PHP is a widely used open source general-purpose scripting language that is especially suited for web development. Its code runs on the server and the visitor receives the generated HTML.[1]

PHP (Hypertext Preprocessor) is a general-purpose scripting language geared towards web development. Created by Rasmus Lerdorf in 1994, PHP has since become one of the most widely used server-side programming languages. It can be embedded into HTML code, or used in combination with various web template systems, web content management systems, and web frameworks. PHP code is usually processed on a web server by a PHP interpreter, which outputs the resulting web page. Its ease of use for beginners, along with its powerful features for advanced programmers, has contributed to its popularity. While it has faced criticism over the years, modern PHP with frameworks like Laravel and Symfony has evolved to support robust, scalable web application development.

PHP belongs toProgramming languagescategory.

What it is

A general-purpose scripting language[1]

Runs

On the server, not in the browser[1]

Style

HTML pages with embedded code[1]

Licensing

Open source[1]

760websites

use it — 29.9% of the 2,539 websites we scanned in the last 12 months

#1of 9

tools in its category seen in our scans (we recognize 30)

396public pages

on UptimeCard — open any of them to see how that site is doing

In short: a server-side language for dynamic web pages. Older versions stop being supported, so run a current release.[2][1]

41.5% of all websites we track run PHP▼ 0.50 points since 19 Oct

What is PHP used for?

In short, from the websites we scan

Generating pages on the server
PHP runs on the server and sends the finished HTML to the visitor.[1]
Writing dynamic pages quickly
The language was designed to let web developers produce dynamically generated pages quickly.[2]
What it does
PHP is one of the programming languages tools websites use. In our scans it is #1 of the 9 we see.
On real websites
Among 60 public websites we scan that use it: running WordPress sites (33 sites), running legacy scripts (13 sites), powering CMS backends (10 sites), rendering dynamic pages (7 sites). Counted automatically from a short description of each site (one site can do several jobs), so read it as an estimate.
Who uses it
Compared with all public websites we scan, it is more common in Educational Resources (8% of its sites, 5% overall).
Used together with
It is often installed next to MySQL, WordPress, Yoast SEO.

Should you use PHP?

The 10-second version, from the vendor’s own pages and what we see in our scans

PHP fits if…

  • You need server-side logic behind a website, such as pages built from stored data[2]
Older releases stop being supported, so the version you run should be a current one[2]

Support and help for PHP

How the vendor says you can reach it, and the public help community

Reddit

A community subreddit, r/PHP, is listed for help[10]

Stack Overflow

Questions can be browsed or asked using the php tag[10]

IRC

Real-time chat is available on Libera.Chat[10]

Discord

Community-run Discord servers offer chat-based help and discussion[10]

PHP versions

The newest release, the series that still gets fixes, and what changed

Latest release

8.5.12[7]

Released 21 Oct 2026

Maintained series

8.5

Each release branch is fully supported for two years, then gets security fixes for two more[3]

What changed in 8.5

  • PHP 8.5 adds the URI extension[8]
  • It adds the pipe operator[8]
  • It supports modifying properties while cloning[8]

What changed in 8.4

  • PHP 8.4 adds property hooks for computed properties[9]
  • It adds asymmetric visibility and an updated DOM API[9]

What changed in 8.0

  • PHP 8.0 introduces two JIT compilation engines[5]
  • It adds named arguments, union types and attributes[5]

What PHP sites add on top

How many of the 760 PHP sites we scanned also run each tool, grouped by what the tool does

Tag manager

Google Tag Manager
68%520 sites

Analytics

Google Analytics
66%501 sites
Linkedin Insight Tag
23%173 sites
Facebook Pixel
19%143 sites

Search visibility

Yoast SEO
30%227 sites

Cookie consent

OneTrust
17%126 sites

Page builder

Elementor
15%112 sites

Marketing

HubSpot
14%109 sites

The full bar means every PHP site. A site can run several tools for one job, so the shares of tools in one group can add up to more than 100%.

How PHP sites protect themselves

Share of the 760 sites we scanned that run each protection

HSTS59% · 448 sites

HTTP Strict Transport Security (HSTS) informs browsers that the site should only be accessed using HTTPS

reCAPTCHA26% · 194 sites

reCAPTCHA is a free service from Google that helps protect websites from spam and abuse

Cloudflare Bot Management12% · 91 sites

Cloudflare bot management solution identifies and mitigates automated traffic to protect websites from bad bots

Protections add up, they do not replace each other: a site can run all of them.

What sites use PHP for

An estimate from UptimeCard's technology map of 294 public sites

Runs the whole site263 sites

23m.com · 2600hz.com · 365retailmarkets.com

Runs the marketing site22 sites

adereso.ai · aiven.io · ansarada.com

Publishes a blog or resources6 sites

anaplan.com · avalara.com · digitalocean.com

Runs a shop or catalog3 sites

dogado.de · hevodata.com · ionos.cloud

Rough guide, not a measurement: each description is written automatically from the site’s technology stack and the site has not confirmed it. A site is counted once, in the first group its description fits (shop, help and docs, blog, marketing site; otherwise the whole site). Descriptions that only guess (“likely”, “may”) are left out.

The speed trap: what fast PHP sites do differently

381 public PHP sites we measured, split by how fast their page loads

Fastest quarter

2.2 stypical page load time

2.2 MB page · 99 requests

Slowest quarter

7.6 stypical page load time

4.8 MB page · 160 requests

What differs between the two groups

Extras on the site
jQuery33%57%
Google Font API6%21%
Google Tag Manager66%80%
Tailwind CSS25%12%
DoubleClick Floodlight21%34%
Fastly4%17%
Read this as a pattern, not a cause. The sites in the slower group more often add the extras above. PHP itself is not what separates the two groups.

At a glance

UptimeCard's own scans and tests of 2,539 websites · refreshed weekly

How PHP sites scoreout of 100 · hover or tap a score for details

50PerformanceLowaverage site: 5191AccessibilityGoodaverage site: 9196Best practicesGoodaverage site: 9692SEOGoodaverage site: 92

Page load time

Loads about as fast as the average site

PHP sites
3.7 s
All sites
3.5 s

Most PHP sites load in 2.7–5.7 s. Home page weight: 3.5 MB vs 3.4 MB for all sites. 381 public sites measured.

Where are they hosted?

Mostly Amazon Web Services and Cloudflare

  • Amazon Web Services26%
  • Cloudflare22%
  • Fastly8%
  • Google Cloud5%
  • Other39%
United States 49%Canada 24%Germany 6%

Who uses it?

Educational Resources sites use PHP 1.6× more than average

Technology and Software55%
Business Services15%
Educational Resources1.6× avg8%
Software as a Service (SaaS)5%

Share of 396 classified public sites. “× average” compares with all 961 public sites.

Browser-security check

38% of graded sites pass

39of 103 score B or better

Rates each site’s own security settings, not PHP. 103 public sites graded so far.

How PHP sites are built

Closest partners. The number says how many times more often the tool runs on PHP sites than on an average website. Hover a partner for its share of sites.

MySQL3×WordPress3×Yoast SEO3×Elementor3×Twitter Emoji (Twemoji)3×jQuery UI2×Apache HTTP Server2×

Stacks we see most. Tools that tend to run together with PHP on the same websites. The percentage is the share of all 760 PHP sites that run the whole stack.

15 stacks · swipe, drag or use the arrows
#1

PHP + Yoast SEO + Contact Form 7

5.8%44 of 760 sites
#2

PHP + Yoast SEO + WP Rocket

5.7%43 of 760 sites
#3

PHP + jsDelivr + cdnjs

5.4%41 of 760 sites
#4

PHP + Yoast SEO + Site Kit

5%38 of 760 sites
#5

PHP + Varnish + Drupal

4.3%33 of 760 sites
#6

PHP + Elementor + RankMath SEO

4.3%33 of 760 sites
#7

PHP + Yoast SEO + cdnjs

4.2%32 of 760 sites
#8

PHP + Elementor + Site Kit

4.2%32 of 760 sites
#9

PHP + Elementor + WP Rocket

3.2%24 of 760 sites
#10

PHP + Elementor + Contact Form 7

3%23 of 760 sites
#11

PHP + Contact Form 7 + Site Kit

2.8%21 of 760 sites
#12

PHP + jsDelivr + jQuery CDN

2.5%19 of 760 sites
#13

PHP + jsDelivr + Drupal

2.1%16 of 760 sites
#14

PHP + WP Rocket + RankMath SEO

2.1%16 of 760 sites
#15

PHP + Drupal + Fastly

2.1%16 of 760 sites

Similar tools in its category

Programming languages: 30 tools known, 9 seen in our scans

How websites combine PHP with other tools

Relationships found on the websites that use it, from the same map status pages show.

Needs another tool 188Built on a platform 97Complements another tool 31Integrates with another 26Overlaps with another 22

Websites using PHP

760 websites use PHP: 29.9% of the 2,539 websites we scanned in the last 12 months. A selection is shown below.

Scores are out of 100: P Performance · A Accessibility · B Best practices · S SEO. Green 80+, yellow 65–79, orange 50–64, red below 50. The dot shows whether our last scan found the site failing (red) or not (green); Red, amber or blue: an active incident on the site's status page (outage, degraded, maintenance) or a failing scan; amber also means a certificate ending within 30 days. Hover the dot for details.

Who is behind PHP

From its own pages and public records, with sources

Maintained by

The PHP Group[4]

PHP since 1994[6]

Its story

  1. 1994

    PHP began as PHP/FI, a small web scripting tool created in 1994.[6]

  2. 1998

    PHP 3.0 was announced as the official successor to PHP/FI 2.0, and the language was renamed PHP, a recursive acronym.[6]

  3. 2000

    PHP 4.0 was released on the new Zend Engine, with HTTP sessions and output buffering.[6]

  4. 2004

    PHP 5 was released with Zend Engine 2.0 and a new object model.[6]

  5. 2020

    PHP 8.0.0 added two JIT compilation engines, named arguments, union types, attributes and the match expression.[11][5]

  6. 2024

    PHP 8.4 added property hooks, asymmetric visibility and an updated DOM API.[11][9]

  7. 2025

    PHP 8.5 added the URI extension, the pipe operator and support for modifying properties while cloning.[8]

Questions about PHP

What is PHP?
PHP is a widely used open source general-purpose scripting language that is especially suited for web development. Its code runs on the server and the visitor receives the generated HTML.
What is PHP used for?
PHP runs on the server and sends the finished HTML to the visitor. The language was designed to let web developers produce dynamically generated pages quickly. PHP is one of the programming languages tools websites use. In our scans it is #1 of the 9 we see. Among 60 public websites we scan that use it: running WordPress sites (33 sites), running legacy scripts (13 sites), powering CMS backends (10 sites), rendering dynamic pages (7 sites). Counted automatically from a short description of each site (one site can do several jobs), so read it as an estimate. Compared with all public websites we scan, it is more common in Educational Resources (8% of its sites, 5% overall). It is often installed next to MySQL, WordPress, Yoast SEO.
Does PHP run in the browser?
No. The code runs on the server and the browser only receives its output.[1]
What does PHP stand for?
A recursive acronym: PHP stands for PHP: Hypertext Preprocessor.[2]
Which PHP versions are supported?
Each release branch is fully supported for two years from its initial stable release, then for two more years for critical security issues only.[3]
What license does PHP use?
The PHP license page lists the Modified BSD License (BSD-3-Clause).[4]
What did PHP 8.0 add?
Two JIT compilation engines, named arguments, union types, attributes, constructor property promotion and the match expression.[5]
What does the name PHP mean?
It is a recursive acronym: PHP: Hypertext Preprocessor.[6]
How many websites use PHP?
We found PHP on 760 of the 2,539 websites we scanned in the last 12 months (29.9%). 396 of them have a public status page.
What are the alternatives to PHP?
Other programming languages tools we recognize include Node.js, Java, Python, TypeScript.

Is your website built with PHP?

Create a free status page that shows your visitors your site is up. It also gives your site its own public page where new people can discover it.

Example status page card