Lighttpd 1.4.13 for Windows

PLEASE NOTE: Native Lighttpd Windows builds are available at http://en.wlmp-project.net/
The last available Lighttpd for Windows build that I created using Cygwin was Lighttpd for Windows 1.4.17.
Updated September 29, 2009.

Lighttpd 1.4.13 for Windows is now available. Please note that the Windows port should only be used for testing and does not support all of the modules that Linux/BSD/other Unix builds do. If you decide to run this in a production environment, be aware of that risk. This file is posted “as-is”. I assume no responsibilty for anything that you do with this file. Use at your own risk! I’ve posted this file here in the hope that they will be useful. I have tested this build on Windows 2000 and XP. I am releasing this under that same license as the original author, Jan Kneschke: http://www.lighttpd.net/download/COPYING or read the ‘COPYING’ file in c:\lighttpd. Have fun!

Here is the output of ./configure, showing the enabled/disabled modules:

Plugins:

enabled:
mod_access
mod_accesslog
mod_alias
mod_auth
mod_cgi
mod_compress
mod_dirlisting
mod_evhost
mod_expire
mod_fastcgi
mod_flv_streaming
mod_indexfiles
mod_proxy
mod_redirect
mod_rewrite
mod_rrdtool
mod_scgi
mod_secdownload
mod_setenv
mod_simple_vhost
mod_ssi
mod_staticfile
mod_status
mod_trigger_b4_dl
mod_userdir
mod_usertrack
mod_webdav
disabled:
mod_cml
mod_magnet
mod_mysql_vhost

Features:

enabled:
auth-crypt
compress-bzip2
compress-deflate
compress-gzip
large-files
regex-conditionals
disabled:
auth-ldap
network-ipv6
network-openssl
stat-cache-fam
storage-gdbm
storage-memcache
webdav-properties

Download Lighttpd 1.4.13 for Windows Here
and
Please Digg this post to spread the word about Lighttpd for Windows

Please read the README.txt during or after installation.

Post to Twitter Post to Delicious Post to Digg Post to Facebook Post to MySpace Post to Reddit Post to StumbleUpon

Did you enjoy this article? Please subscribe to my feed to receive all the FREE updates via RSS or Email - your choice!

{ 55 comments }

26 BoxedUp December 1, 2006 at 02:31:24 AM

I installed your latest version on a fresh install of Windows XP.

I installed your latest version…
renamed the lighttpd.conf.orig to lighttpd.conf
I attempt to run…
It says Starting lighttpd….
(I have Windows task Manager running before I open lighttpd)
lighttpd.exe appears for 2 to 3 seconds then disappears
I have checked the error log file but nothing’s there apart from …server started

27 Kev December 1, 2006 at 11:32:49 AM

BoxedUp: try opening a command prompt, changing to the c:\lighttpd\sbin directory and running:

lighttpd.exe -f ..\etc\lighttpd.conf

and see what errors come up. Then try to work out the error from there. You most likely have an error in your lighttpd.conf file.

28 BoxedUp December 1, 2006 at 04:54:42 PM

Hey Kev:

It works now, i had to close down the server and restart it, when i installed the latest version, Thank You

Also, how do I get PHP and MySQL running? I’ve tried 2 tutorials from other sites but they didnt’ work, do you have a step by step?

29 Kev December 1, 2006 at 06:12:58 PM
30 BoxedUp December 1, 2006 at 06:38:40 PM

I get this error following his tutorial, WARNING: unknown config-key: cgi.assign

lighttpd started
.
.
.

(i made a file with to see if anything would happen and I get 403 – Forbidden

31 BoxedUp December 1, 2006 at 06:47:32 PM

edit: i made 1 mistake, fixed now thanks

32 Kev December 1, 2006 at 09:44:32 PM

BoxedUp: It sounds like you forgot to uncomment the mod_cgi module.

33 spud December 3, 2006 at 01:22:44 PM

A plain zip file without installer would be appreciated.

34 elise December 4, 2006 at 03:28:52 PM

This is an other windows release of lighty:
http://wlmp.dtech.hu/downloads/pub/LightTPD/LightTPD-1.4.13-Win32.exe

35 Ben Harper December 9, 2006 at 08:44:10 PM

I can’t get clean binary output from mod_cgi. Anything I output seems to be filtered as though it’s going through a stream opened in text mode.

Is it perhaps line 994 of mod_cgi.c, where O_RDONLY should be combined with O_BINARY?

ps. Kevin- I emailed this question straight to you, but here it is again for all to see.

36 Kev December 9, 2006 at 10:01:05 PM

Ben: this might be a better question for the lighttpd forum

37 david December 21, 2006 at 01:52:24 PM

I am trying to launch this on Windows Vista RTM, but as always it just doesn’t work…

Any ideas why is it not working?.. I was trying to find some articles on the net, but as I can see no-one writes about it…

And I can’t find any support here or I just don’t see it…

38 david December 21, 2006 at 01:57:31 PM

I am trying to launch this on Windows Vista RTM, but as always it just doesn’t work…

Any ideas why is it not working?.. I was trying to find some articles on the net, but as I can see no-one writes about it…

39 Kev December 21, 2006 at 03:14:15 PM

David: please view the above comment.

40 david December 25, 2006 at 09:11:46 AM

Just download one of RTM version and that’s all… Still you won’t be able to crack it.

I think I am moving back to XP or changing everything to Mac…

41 ibear January 11, 2007 at 08:19:01 AM

I have installed 1.4.13

when I tried to use mod_auth, but failed

2007-01-11 21:09:26: (plugin.c.165) dlopen() failed for: c:/lighttpd/lib/mod_auth.dll No such file or directory
2007-01-11 21:09:26: (server.c.577) loading plugins finally failed
Starting lighttpd
.
.
.

I checked c:/lighttpd/lib, mod_auth.dll lie there. so I confused:(

42 raderack January 15, 2007 at 07:45:03 AM

Well,since fastcgi dont work i have tried the cgi module,the lighttpd loaded ok,but i always get a blank page.
and appear that in log page
2007-01-15 10:40:38: (mod_cgi.c.1194) cgi died ?
2007-01-15 10:40:39: (mod_cgi.c.961) CGI failed: Permission denied c:/php
mod_cgi.c.964: aborted
2007-01-15 10:40:40: (mod_cgi.c.1194) cgi died ?

yes the register_globals=on in php.ini

43 raderack January 15, 2007 at 07:53:43 AM

forget solved the blank page
with “.php” => “c:/lighttpd/php/php-cgi.exe”

44 Black January 16, 2007 at 09:02:43 AM

Hello first I would like to say thank you! This works greatly!

For all who had also problems with the upload (like me), just add following to the lighttpd.conf:

server.upload-dirs = ( "c:/lighttpd/tmp" )

Now lighty will save the uploads temporarly in “c:/lighttpd/tmp”.

Have a nice Day!

45 techboystoys January 25, 2007 at 03:15:02 PM

Anyone get mod_secdownload working?

46 walid March 3, 2007 at 06:23:29 AM

why isn’t packed also?

47 walid March 3, 2007 at 06:27:47 AM

why PHP isn’t packed also?

48 Jasper March 3, 2007 at 01:08:40 PM

When I click the “Start Lighttpd” link, it says “Starting lighttpd” and then after that, it is not running.

I have no other webserver running, and it did work yesterday, also after 2 reboots. Any ideas ?

49 Kev March 4, 2007 at 11:59:12 AM

walid: There are plenty of places to get a working PHP, so I have decided not to package it also. I usually use the PHP provided as part of XAMPP lite for Windows since it is quick and easy to get running. Jasper: See a comment that I made above in this post for a solution.

50 elise March 11, 2007 at 02:28:03 AM

WLMP Project – Webserver-Package:
http://wlmp.dtech.hu/down_wlmp.php?lang=en

Contents of package:
LightTPD for Windows, MySQL , PHP, MiniPerl, OpenSSL, phpMyAdmin

Comments on this entry are closed.

{ 1 trackback }

Previous post:

Next post: