PHP vs Python
- 528,422
- 66,084
Loading comparison
Loading comparison
PHP is the more common of the two in our index: it runs on 528,422 websites against 66,084 for Python, and 13,667 sites use both. Counts come from real scans of each site's home page, not vendor claims, and cover the sites in TechLookup.app's index rather than the whole web.
PHP is a general-purpose scripting language used for web development.
Python is an interpreted and general-purpose programming language.
Among sites in the Tranco top 10,000, PHP appears on 2,282 and Python on 153; across the top million it is 319,590 against 6,985. Within the programming languages sites we have indexed, PHP holds 83% and Python 10%.
PHP: 528,422 sites, on 83% of Programming languages sites
Indexed sites in the countries where the two are most used. A site's country is read from its domain ending, or from its own server for .com and other generic endings. Sites behind a shared CDN or cloud on a generic ending have no country and are not counted here.
| Country | PHP | Python |
|---|---|---|
| United States | 35,944 | 392 |
| Germany | 32,031 | 549 |
| Russia | 24,458 | 280 |
| France | 16,944 | 448 |
| Netherlands | 12,410 | 463 |
| United Kingdom | 11,891 | 910 |
13,667 sites run both PHP and Python. That is 21% of the sites using Python, the smaller of the two.
Want to know which one a particular site uses? Look it up and see its whole stack, or compare two sites side by side.
| Japan | 10,805 | 209 |
|---|
| Poland | 7,925 | 127 |
|---|
Export up to 500,000 PHP sites a month as CSV on the Business plan, $99 a month. Export on Business → or download a free 5-row sample CSV.
Export all 66,084 Python sites as CSV on the Business plan, $99 a month. Export on Business → or download a free 5-row sample CSV.