PHP vs Python
- 536,650
- 66,256
Loading comparison
Loading comparison
PHP is the more common of the two in our index: it runs on 536,650 websites against 66,256 for Python, and 13,736 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,290 and Python on 146; across the top million it is 327,815 against 7,119. Within the programming languages sites we have indexed, PHP holds 83% and Python 10%.
PHP: 536,650 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 | 36,383 | 392 |
| Germany | 32,664 | 556 |
| Russia | 24,799 | 288 |
| France | 17,244 | 453 |
| Netherlands | 12,568 | 469 |
| United Kingdom | 12,030 | 911 |
13,736 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 | 11,000 | 213 |
|---|
| Poland | 8,140 | 129 |
|---|
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,256 Python sites as CSV on the Business plan, $99 a month. Export on Business → or download a free 5-row sample CSV.