TidyToolsTech Stack Index · detected

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

PHPRuby
Sites using it1,81095
Share of 7,859 sites23%1.2%
Share of the top 1,000 sites (710 readable)15%1.5%
Only this one of the two1,80691

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

SectorSitesPHPRuby
Other6,30522%1.3%
News34722%0.6%
Entertainment31421%1.3%
Education24647%0.4%
Government24138%0.8%
Technology13314%0.8%
Finance9716%1.0%
E-commerce9312%1.1%

Share of the sector's sites using each technology; sectors with at least 50 sites.

By top-level domain

TLDSitesPHPRuby
.com4,13821%1.4%
.org43729%2.1%
.net33320%1.5%
.ru25818%0.4%
.jp18914%4.2%
.io18514%1.1%
.de18031%2.2%
.edu15957%<0.1%
.gov11059%0.9%

Top-level domains with at least 100 sites.

Most popular sites using only PHP

Most popular sites using only Ruby

Each technology

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.