Programming languages · comparison
PHP vs Python
PHP is used on 4,478,497 sites, 30 times as many as Python (150,865 sites).
In Programming languages, PHP ranks #1 and Python #4 by number of sites.
From Jul 2026 to Oct 2026, PHP grew 0.3% and Python grew 0.1%.
2,824 sites run both: less than 0.1% of PHP sites and 1.9% of Python sites.
Ph
PHP
php.net
- Sites
- 4,478,497
- Share of tracked sites
- 29.1%
- Rank in Programming languages
- #1
- Change since Jul 2026
- ▲ +0.32%
Py
Python
python.org
- Sites
- 150,865
- Share of tracked sites
- 0.99%
- Rank in Programming languages
- #4
- Change since Jul 2026
- ▲ +0.14%
Sites using both
2,824
sites run PHP and Python
of PHP sites<0.1%
of Python sites1.9%
Top sites using PHP
- telangana.gov.in#12,081
- wso2.download#17,612
- scilab.org#25,585
- finprotect.info#25,799
- fx-strategy.info#46,696
Often used with PHP
More Programming languages comparisons
Site counts and ranks come from our crawl of the web; the change compares the monthly adoption snapshots both technologies have.