One of the nice features of the AltaVista and Northern Light search engines is that you can search for words in a URL using the syntax url:[word], and it will give you a count of the number of pages found.
I thought of using this as a crude measure of the popularity of some popular web server technologies. For PHP, combine the url:php, url:phtml and url:php3 numbers.
The advantage of this method is that it better approximates the way Web pages are distributed over the Internet. The disadvantage is that Web pages which are not accessible by Search Engines are not counted (robots.txt and URL’s with query-strings), and some PHP Web pages do not have a php, php3 nor phtml extension.
Visit http://php.weblogs.com/popularity for the full article.