Goodbye Apache, welcome lighttpd

| 2 Comments | No TrackBacks

Finally, after several weeks of thinking about it, I removed Apache 2 from my server machine and replaced it with lighttpd.

I don't have anything against Apache. In fact has never gave me any problem. But, in a VPS environment, RAM memory is the main resource to save. And Apache is so RAM hungry (besides MySQL), that the server was almost Apache dedicated.

After searching for a viable alternative I came to lighttpd. Small, low memory footprint, super fast, support for virtual hosts, php, fastcgi. Well, this blog is already running over lighttpd/fastcgi.

Then only drawback was, lighttpd has no support (complete as today) for Web DAV, so Subversion couldn't work with https, but as I am the only user for my repo, I now use svn+ssh to access it.

So, the migration was OK.

No TrackBacks

TrackBack URL: http://leugim.com.mx/cgi-bin/movabletype/mt-tb.cgi/90

2 Comments

Hi,
Have you looked at Nginx ( http://wiki.codemongers.com/Main ) ?
If you're looking for something _very_ light, it could be interesting to investigate further in this direction :p

Yes I have. In fact my list included lighttpd, nginx and thttpd. thttpd was discarded because of the documentation didn't look appealing :). I finally chose lighttpd because the code to enable FastCGI/PHP in lighttpd was just a couple of lines in lighttpd.conf and in nginx it was several lines (http://wiki.codemongers.com/NginxFcgiExample). Furthermore, nginx needed span-fcgi, a program included with lighttpd. So instead of installing lighttpd and nginx to use nginx, I used just lighttpd.
A practical soluction more than a technical one, as you can see :)

Leave a comment

About this Entry

This page contains a single entry by Miguel Cobá published on April 13, 2008 12:39 PM.

Soy tío was the previous entry in this blog.

Linux kernel powered wireless card. is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.