Comparison · Programming language
PHP vs Ruby: which do popular websites use?
As of 2026-10-02, PHP is detected on 1,810 of 7,859 popular websites (23%) and Ruby on 95 (1.2%): PHP is 19x as common. 4 sites use both.
Adoption at a glance
| PHP | Ruby | |
|---|---|---|
| Sites using it | 1,810 | 95 |
| Share of 7,859 sites | 23% | 1.2% |
| Share of the top 1,000 sites (710 readable) | 15% | 1.5% |
| Only this one of the two | 1,806 | 91 |
Both: 4 sites. Detected on 2026-10-02 from the home page; a technology that leaves no trace there is not counted.
By site sector
| Sector | Sites | PHP | Ruby |
|---|---|---|---|
| Other | 6,305 | 22% | 1.3% |
| News | 347 | 22% | 0.6% |
| Entertainment | 314 | 21% | 1.3% |
| Education | 246 | 47% | 0.4% |
| Government | 241 | 38% | 0.8% |
| Technology | 133 | 14% | 0.8% |
| Finance | 97 | 16% | 1.0% |
| E-commerce | 93 | 12% | 1.1% |
Share of the sector's sites using each technology; sectors with at least 50 sites.
By top-level domain
| TLD | Sites | PHP | Ruby |
|---|---|---|---|
| .com | 4,138 | 21% | 1.4% |
| .org | 437 | 29% | 2.1% |
| .net | 333 | 20% | 1.5% |
| .ru | 258 | 18% | 0.4% |
| .jp | 189 | 14% | 4.2% |
| .io | 185 | 14% | 1.1% |
| .de | 180 | 31% | 2.2% |
| .edu | 159 | 57% | <0.1% |
| .gov | 110 | 59% | 0.9% |
Top-level domains with at least 100 sites.
Most popular sites using only PHP
- wordpress.org #22
- europa.eu #51
- tumblr.com #66
- creativecommons.org #82
- mit.edu #98
- nist.gov #105
- cpanel.net #108
- harvard.edu #133
- checkpoint.com #153
- selectel.ru #155
- nasa.gov #162
- plesk.com #171
- docker.com #223
- noaa.gov #230
- bitrix24.ru #236
- oup.com #238
- eset.com #254
- unesco.org #275
- tencent.com #281
- techcrunch.com #284
Most popular sites using only Ruby
- www.gov.uk #127
- goodreads.com #205
- openstreetmap.org #248
- airbnb.com #332
- themeforest.net #477
- archiveofourown.org #489
- tabelog.com #501
- cookpad.com #517
- remove.bg #562
- tabor.ru #565
- mechacomic.jp #774
- ycombinator.com #1,170
- mpg.de #1,225
- istockphoto.com #1,273
- gettyimages.com #1,295
- huntress.io #1,435
- gumroad.com #1,485
- federalregister.gov #1,776
- ably.io #1,887
- buzzsprout.com #1,932
Each technology
- Websites using PHP (1,810)
- Websites using Ruby (95)
FAQ
- Which is more popular, PHP or Ruby?
- As of 2026-10-02, PHP is detected on 1,810 of 7,859 popular websites (23%) and Ruby on 95 (1.2%): PHP is 19x as common. 4 sites use both.
- Which do the most popular websites prefer?
- Among the 710 sites of the top 1,000 that we could read, 103 (15%) use PHP and 11 (1.5%) use Ruby.
- Can a website use both PHP and Ruby?
- Yes: 4 of the 7,859 sites show both (<0.1%); 1,806 show only PHP and 91 only Ruby.