{"id":27,"date":"2005-03-25T14:44:00","date_gmt":"2005-03-25T14:44:00","guid":{"rendered":"http:\/\/hosting-marketers.com\/news\/archives\/27"},"modified":"2005-03-25T14:44:00","modified_gmt":"2005-03-25T14:44:00","slug":"comparing-servers","status":"publish","type":"post","link":"https:\/\/hosting-marketers.com\/news\/2005\/03\/25\/comparing-servers\/","title":{"rendered":"Comparing servers"},"content":{"rendered":"<p>Almost 70% of sites on the internet are served by Apache, a completely Open  Source, free web server. Quite an achievement for open source software,  especially considering Microsoft&#8217;s share is less than 20%<\/p>\n<p> There are other web servers of course, which all provide various other  features&#8230; I considered quite a few alternatives when building this new server,  all of course are Open Source.<\/p>\n<p> The Apache Servers<br \/>\n The biggest, and arguably still the best, web server is Apache which is now  available in two variants &#8211; Apache 1.3 and Apache 2.0, both have their  advantages and disadvantages.<\/p>\n<p> Apache 1.3<br \/>\n A long running, well established, and stable web server that is considered  pretty much the standard now.<\/p>\n<p> I have always used apache, for all of my previous sites and servers, and have  now come to understand most of it&#8217;s configuration very well. Also, Apache 1.3 is  still considered the most stable platform for PHP, and it&#8217;s VirtualHost support  and the power of .htaccess files for site and even directory specific  configuration make it an excellent server for shared hosting.<\/p>\n<p> Apache is the default web server on most Linux distributions, Including my new  distro of choice &#8211; Debian. This would make it wonderfully simple to install  (i.e. do nothing, it&#8217;s already there) and also I could simply copy across all  the old config files and, in theory, they&#8217;ll work.<\/p>\n<p> On the downside, Apache 1.3 is now showing it&#8217;s age, and is surely soon to be  discontinued now that Apache 2.0 is stable. Therefore, I have decided not to  continue to use Apache 1.3.X on my servers.<\/p>\n<p> At present this server is running Apache 1.3, despite what&#8217;s said above&#8230;  explained later<\/p>\n<p> Apache 2.0<br \/>\n Apache 2.0 complete rewrite of Apache, only recently considered stable enough  for production use, destined to replace the Apache 1.3.X server through time.<\/p>\n<p> At the time of writing, the latest version is 2.0.48, which is their 11th Public  Release. I have found Apache 2.0 to be completely stable, even with PHP 4.3x,  despite the various bugs that have been reported at times with that combination.<\/p>\n<p> Obviously, having PHP is of the utmost importance to me, considering this whole  site (and every other one i&#8217;ve built!) uses it.<\/p>\n<p> Debian doesn&#8217;t have a package yet for PHP for Apache 2, although Apache 2 itself  is there.. I have found a third-party package that provides php4 as a module for  Apache 2.0 in Debian, which works great!<\/p>\n<p> Apache 2.0 uses completely different configuration files, which I must admit I  prefer, which are close enough to the Apache 1.3 ones that it&#8217;s not difficult to  migrate or to learn to use the new configs.<\/p>\n<p> I had decided to use Apache 2.0 as the primary web server on this server, but  it&#8217;s now changed back to 1.3.X&#8230; explained later!<\/p>\n<p> Caudium (Roxen)<br \/>\n Caudium is a completely Open Source web server based on Roxen, with a few unique  and very powerful features. I like this server, but it&#8217;s very different from  Apache, and indeed any other web server, It&#8217;s mainly configured from a web  interface, allowing virtual sites to be set up easily.<\/p>\n<p> Where Caudium is truly unique is in it&#8217;s modules. There are modules for almost  everything including the nice tag which renders text graphically (as a PNG),  there are also tags for generating &#8216;business&#8217; graphics (charts, graphs etc&#8230;)  and for image manipulation. The RXML markup even supports if \/ then \/ else  statements and even SQL queries.<\/p>\n<p> There is even a photo gallery modules which, with one tag, will look through a  folder of images and generate clickable thumbnails and prev\/next links. For  rapid development of dynamic site (including nice headings, and tab-based  navigation) there is no better platform, It&#8217;s easy to learn, fast and powerful<\/p>\n<p> However, Caudium cannot handle the same load as Apache, it isn&#8217;t as efficient,  particularly when it comes to running PHP within pages. And I don&#8217;t want to be  developing sites which require a specific web server, it seems to defeat the  purpose of everything following standards, I can take this site and deploy it on  any server so long as it supports PHP4, if I used the extra tags offered by  Roxen\/Caudium, this wouldn&#8217;t be possible.<\/p>\n<p> Caudium is installed on this server, mainly as a development environment which I  also occasionally use for generating images, which I then save as static files  and can include them in pages served by the standard Apache 2.0 server. It also  enables me to host sites that require Caudium for others<\/p>\n<p> thttpd<br \/>\n thttpd is used by several big names including Demon Internet and Global  Internet, it&#8217;s also used by mtv.com and a couple of the leading banner ad  companies.<\/p>\n<p> thttpd also includes a couple of unique features not found in any other web  server (at least without extra modules) including URL-based Traffic Throttling.<\/p>\n<p> Where thttpd really excels, is in it&#8217;s speed and load it can take before slowing  down or dropping connections. It&#8217;s also incredibly efficient in it&#8217;s use of  system resources, which is always a good thing.<\/p>\n<p> thttpd is only around 400k (as opposed to Apache which is nearer 6Mb) and has  only 7,230 lines of source code. It is incredibly secure, fast, and can handle  720 requests per second (for small files) as opposed to around 300 with Apache.  Additionally thttpd is considered very secure.<\/p>\n<p> So why ain&#8217;t I using it?, Firstly it&#8217;s not ideal for PHP-based sites, Apache and  even Caudium have much better support for PHP and are more flexible. Besides,  the upstream on this server could never serve 1000 simultaneous connections, so  although I can understand why Demon need something this scalable on their web  servers, I dont.<\/p>\n<p> Notes on Apache 2.0<br \/>\n I say above that I like, and use, Apache 2.0 yet this site uses Apache 1.3. Why?  The aforementioned third-party module provides PHP support, but not MySQL  support. I will not compile it myself, because it confuses Debian&#8217;s package  manager. So until Debian releases a php4 module for Apache 2 in the official  sources, I&#8217;m sticking to 1.3&#8230;<\/p>\n<p> I will, of course, move as soon as that module appears!<\/p>\n<!-- AddThis Advanced Settings generic via filter on the_content --><!-- AddThis Share Buttons generic via filter on the_content -->","protected":false},"excerpt":{"rendered":"<p>Almost 70% of sites on the internet are served by Apache, a completely Open Source, free web server. Quite an achievement for open source software, especially considering Microsoft&#8217;s share is less than 20% There are other web servers of course, which all provide various other features&#8230; I considered quite a few alternatives when building this [&hellip;]<!-- AddThis Advanced Settings generic via filter on get_the_excerpt --><!-- AddThis Share Buttons generic via filter on get_the_excerpt --><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[2],"tags":[],"class_list":["post-27","post","type-post","status-publish","format-standard","hentry","category-hosting-marketers-news"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p9Yxzd-r","jetpack-related-posts":[{"id":150,"url":"https:\/\/hosting-marketers.com\/news\/2010\/01\/17\/how-to-install-red5-version-0-8-and-0-9-on-centos-5-4\/","url_meta":{"origin":27,"position":0},"title":"How To Install RED5 version 0.8 or 0.9 on CENTOS","author":"Admin","date":"January 17, 2010","format":false,"excerpt":"RED5 is open source flash server written in java supports streaming audio\/video, recording client streams, shared objects, live stream publishing etc. In this short steps you can install red5 server on your virtual server or dedicated. This is post is being modified on 27th August 2013, the installation is for\u2026","rel":"","context":"In &quot;rtmp hosting&quot;","block_context":{"text":"rtmp hosting","link":"https:\/\/hosting-marketers.com\/news\/category\/rtmp-hosting\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":521,"url":"https:\/\/hosting-marketers.com\/news\/2015\/05\/06\/what-is-disk-io-usage-and-why-on-my-cpanel-it-shows-it-in-full-red\/","url_meta":{"origin":27,"position":1},"title":"what is Disk I\/O Usage and why on my cpanel it shows it in full red?","author":"Admin","date":"May 6, 2015","format":false,"excerpt":"I\/O (input\/output defined as KB\/s) is just the \"throughput\" or speed of data transfer between the hard disk and the RAM. On a server, a disk I\/O describes every process that involves writing to or reading from a storage device which on a shared web hosting server will be the\u2026","rel":"","context":"In &quot;Disk I\/O Usage&quot;","block_context":{"text":"Disk I\/O Usage","link":"https:\/\/hosting-marketers.com\/news\/category\/disk-io-usage\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1353,"url":"https:\/\/hosting-marketers.com\/news\/2025\/02\/24\/how-to-secure-your-wordpress-and-laravel-sites-on-a-hosting-marketers-shared-accounts\/","url_meta":{"origin":27,"position":2},"title":"How to Secure Your WordPress and Laravel Sites on a Hosting Marketers Shared Accounts","author":"Admin","date":"February 24, 2025","format":false,"excerpt":"Website security is critical for protecting your data, preventing hacks, and ensuring your site runs smoothly. While your hosting provider has CSF Firewall to protect the server from external threats, securing your WordPress or Laravel site is your responsibility. Many hacks happen because of poor security practices\u2014such as outdated plugins,\u2026","rel":"","context":"In &quot;security&quot;","block_context":{"text":"security","link":"https:\/\/hosting-marketers.com\/news\/category\/security\/"},"img":{"alt_text":"How to Secure Your WordPress and Laravel Sites on a Hosting Server with CSF Firewall","src":"https:\/\/i0.wp.com\/hosting-marketers.com\/news\/wp-content\/uploads\/2025\/02\/security.jpg?fit=1024%2C1024&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/hosting-marketers.com\/news\/wp-content\/uploads\/2025\/02\/security.jpg?fit=1024%2C1024&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/hosting-marketers.com\/news\/wp-content\/uploads\/2025\/02\/security.jpg?fit=1024%2C1024&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/hosting-marketers.com\/news\/wp-content\/uploads\/2025\/02\/security.jpg?fit=1024%2C1024&ssl=1&resize=700%2C400 2x"},"classes":[]},{"id":51,"url":"https:\/\/hosting-marketers.com\/news\/2007\/07\/19\/using-mysql-in-a-hosting-environment\/","url_meta":{"origin":27,"position":3},"title":"Using MySQL in a Hosting Environment","author":"Admin","date":"July 19, 2007","format":false,"excerpt":"Most of you know that MySQL is a database server that is heavy-duty.\u00c2\u00a0 It can be used with PHP and other assorted software languages and is a part of the family known as LAMP which stands for Linux, Apache, MySQL, and PHP. Hosting Marketers supports on its cpanel, MYSQL and\u2026","rel":"","context":"In &quot;Hosting Marketers News&quot;","block_context":{"text":"Hosting Marketers News","link":"https:\/\/hosting-marketers.com\/news\/category\/hosting-marketers-news\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":426,"url":"https:\/\/hosting-marketers.com\/news\/2013\/11\/15\/suphp-and-server-error\/","url_meta":{"origin":27,"position":4},"title":"suPHP and &#8220;Server Error&#8221;","author":"Admin","date":"November 15, 2013","format":false,"excerpt":"why you may get 500 Server Error on your site?","rel":"","context":"In &quot;security&quot;","block_context":{"text":"security","link":"https:\/\/hosting-marketers.com\/news\/category\/security\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":162,"url":"https:\/\/hosting-marketers.com\/news\/2010\/02\/13\/how-to-install-the-latest-ffmpeg-mplayer-mencoder-ffmpeg-php-on-centos-server\/","url_meta":{"origin":27,"position":5},"title":"How To Install FFmpeg, Mplayer, Mencoder, FFmpeg-PHP on a CentOS server","author":"Admin","date":"February 13, 2010","format":false,"excerpt":"I tried first to use the installer of ScriptMantra but for some reason there were errors sometimes the Liba52, sometimes the Mplayer were not installed, so I just gave up and used the autoinstaller just to remove all traces of ffmpeg on the server, then I used the yum to\u2026","rel":"","context":"In &quot;Hosting Marketers News&quot;","block_context":{"text":"Hosting Marketers News","link":"https:\/\/hosting-marketers.com\/news\/category\/hosting-marketers-news\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/hosting-marketers.com\/news\/wp-json\/wp\/v2\/posts\/27","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hosting-marketers.com\/news\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hosting-marketers.com\/news\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hosting-marketers.com\/news\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/hosting-marketers.com\/news\/wp-json\/wp\/v2\/comments?post=27"}],"version-history":[{"count":0,"href":"https:\/\/hosting-marketers.com\/news\/wp-json\/wp\/v2\/posts\/27\/revisions"}],"wp:attachment":[{"href":"https:\/\/hosting-marketers.com\/news\/wp-json\/wp\/v2\/media?parent=27"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hosting-marketers.com\/news\/wp-json\/wp\/v2\/categories?post=27"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hosting-marketers.com\/news\/wp-json\/wp\/v2\/tags?post=27"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}