For some reasons, Apache2 on my windows seems to be getting sluggish. A huge part of it is due to the number of services running on my machine.
I took the opportunity to make a switch from Apache to Lighttpd .
Kevin Worthington has compiled a windows build that allow one to easily install it on windows.
Getting it running is easy and takes me only a couple of minutes to get it working with php etc, though no fastcgi on windows yet.
The build also come with a way to install Lighttpd as a NT service.
However, the docs does not seems to have a nice and easy way to run Lighttpd as a service.
I decided to try running it through Firedaemon (the free version) ; a trick I learn from the Tcl community when running ‘tcl httpd’ (a tcl web server) on windows.
It works flawlessly and takes only 3 easy steps.
Step 1: Download Firedaemon
- A ‘Pro’ version is available at http://www.firedaemon.com/
- A free version which is no longer released or supported can still be found at http://www.unrealadmin.org/forums/showthread.php?t=6486
Step 2: Install Firedaemon
Step 3: Launch Firedaemon and add ’start-lighttpd.bat’ as a service.
That’s all. 3 easy steps to run Lighttpd as a NT service.