Programming languages · comparison

PHP vs Ruby

PHP is used on 4,478,497 sites, 34 times as many as Ruby (131,286 sites).

In Programming languages, PHP ranks #1 and Ruby #5 by number of sites.

From Jul 2026 to Oct 2026, PHP grew 0.3% and Ruby grew 0.3%.

1,450 sites run both: less than 0.1% of PHP sites and 1.1% of Ruby 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%
Ru

Ruby

ruby-lang.org
Sites
131,286
Share of tracked sites
0.85%
Rank in Programming languages
#5
Change since Jul 2026
▲ +0.27%

Sites using both

1,450
sites run PHP and Ruby
of PHP sites<0.1%
of Ruby sites1.1%

Top sites using PHP

  1. telangana.gov.in#12,081
  2. wso2.download#17,612
  3. scilab.org#25,585
  4. finprotect.info#25,799
  5. fx-strategy.info#46,696
All PHP sites →

Often used with PHP

Top sites using Ruby

No ranked site yet.

All Ruby sites →

Often used with Ruby

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.