Lighttpd 1.4.13 for Windows
If you're new here, you should use the free sign up form to get notifications of new posts via RSS and follow me on Twitter for Blog updates, my new software releases, tips, tricks, and other tech related news.
Thanks for visiting!
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.
Possibly Related posts:
- lighttpd 1.4.11 for Windows
- lighttpd 1.4.9b for Windows is released
- lighttpd 1.4.9 for Windows
- lighttpd 1.4.8 For Windows
- lighttpd 1.4.10 for Windows now available















fastcgi and python don’t work again the message is
2006-10-21 02:26:18: (mod_fastcgi.c.3264) fcgi: got a FDEVENT_ERR. Don’t know why.
i can’t test mod_compress because i don’t have the two libs from CYGWIN where can i download them ??
Why fcgi doesn’t work in windows?? i dont get errors just blank screen on my browser….. normal cgi works great
read log for errors i got the error from there
Dimi: Like I stated in the announcement, some things simply do not work on Windows. Which two libs are missing? JuanS: FastCGI does not work, please read the post and comments for lighttpd 1.4.11 regarding this issue, especially this comment that I made.
as start again (as 1.4.11) no cygccript-0.dll the two other libs are cigbz2.dll and ciggzip.dll . I am not sure for the names of the libs. As I know mod_compress don’t work. Am I right? CGI works perfect I have a python wiki and trac system running on lighttpd.
Does it have to be installed on “C” still?
Robert: yes, c:\lighttpd to be specific.
I like Lighttpd for windows. I am interested how I can get Lighttpd with
Jetty 6.0.1 to work. May be somebody can guide me.
Good work of Kevin Worthington. Please continue !
Bertil
Dimi: These files might help you out:
|cygbz2-1.dll|
|cygbz21.0.dll|
|cygcrypt-0.dll|
Download each file and put them in C:\lighttpd\sbin
Hi,
I installed lighttpd on a winxp pro system and everything is fine when browsing from the same system.
When trying to browse from another sys in the local network the recently installed firewall blocks every input and it looks like there is no way to open the ports to let local systems in.
As I have the same firewall installed on a system where apache is installed and works with no problems, I am wondering if you know any incompatibility between lighthttpd and firewalls.
Of course I have already set the firewall to let lighttpd to serve pages.
I would like to check if my open source http://phpcamaleo.org is fully compatible so that I can state it in the compatibility page and make, hopefully, some additional users happy =)
Feel free to get in touch for any further info you may need,
Best regards
Hey, thanks for this Windows release! I’m having one problem though. I can’t upload any files. I seems the temp folder isn’t set to right location:
2006-11-02 13:16:01: (connections.c.1069) denying upload as opening to temp-file for upload failed: /var/tmp/lighttpd-upload-cmYc2s No such file or directory
I seem to remember that a previous version had the same error, and it is caused by larger file uploads. (Smaller ones are kept in system memory.)
Since I can’t find any temp folder directive in the config file is there any other way to fix this?
Thanks in advance!
Lighttpd installs itself in the c drive by default, but, some people(me) have windows intalled in other drive. How do I solve that?
Hey Kevin, thanks for the updated version, it’s good to see development is still continuing. It sure is a nice, fast server, it seems this version may be even faster than previous. I have it running my ruby app. against a SQLite database and coupled with SCGI, the result is very fast and smooth.
Thanks again.
Ugo: I do not know of any specific incompatibilities between lighttpd and firewalls.
Stefan: that is something that I would need to fix. I think I did account for that in the 1.4.11 version. If you revert to that version for now, it should handle temp properly. Look for a new version in the next week or so.
Italo: I built a version that installs to the E:\ drive, but it was version 1.4.10. If you’d like, you can download it here.
Also, I haven’t tested this myself, but others claim that it works: http://forum.lighttpd.net/topic/197#566
David: You’re welcome. Feel free to send a tip, if you would like.
Hi,
Just installed “lighttpd-1.4.13-win-setup.exe” (clean install on a WinXP Prof. SP2 PC that’s never had lighttpd installed on it before), copied “lighttpd.conf.orig” to “lighttpd.conf”, opened it and enabled “mod_compress” by un-hashing the line in the conf file. When I click the “Start lighttpd” shortcut on the desktop I get this every time…
2006-11-05 19:45:58: (plugin.c.165) dlopen() failed for: c:/lighttpd/lib/mod_compress.dll No such file or directory 2006-11-05 19:45:58: (server.c.577) loading plugins finally failed
I have “C:\lighttpd\lib\mod_compress.dll”. If I re-hash the line in the conf file the server starts fine.
Any ideas about this?
Thanks,
R
Ok, I figured out why it happens…if I use the command line :-
c:\lighttpd\sbin\lighttpd.exe -m c:\lighttpd\lib -f c:\lighttpd\etc\lighttpd.conf
I get the following :-
(plugin.c.165) dlopen() failed for: c:\lighttpd\lib/mod_compress.dll No such file or directory
(server.c.577) loading plugins finally failed
As you can see if lighttpd didn’t want to add the “/” before the “mod_compress.dll” then all should work fine. So a command line like this should be allowed :-
c:\lighttpd\sbin\lighttpd.exe -m c:\lighttpd\lib\ -f c:\lighttpd\etc\lighttpd.conf
but we’d need lighttpd re-built to not add the “/”.
I hope I’ve explained it well enough….have I?
Kevin, I’m getting a virus alert while doing the install for either .13 or .11. I’ve sent a screenshot, but I wanted to warn you and your users about this.
VirusScan finds the PrcViewer virus in one of the tmp files during install and deletes it on the spot.
Ken: I think this is a false-positive. There are not any viruses in my install packages. Can you please post the virus scanner and version, just so others are aware that this might happen? (I am guessing it is McAfee, based on the screenshot that you emailed me.)
Hi!
I use a Windows version in Brazilian-Portuguese, the program installs automatically in “C:/Arquivos de Programas/lighttpd/” but when I run the server cygwin send me a error, I want to install it in another place like “C:/www/” you can post other version of installer.
Gobr: my version installs into c:\lighttpd. The first version that I released installed into c:\Program Files\lighttpd.
I normally do not make custom installers, but if you really must have a version that installs into c:\www and want to give me a donation to do it, I will consider it.
Is there any status on a possible release for Vista?
At the moment the one I’m using in XP SP2 fails to load properly in Vista.
Henry: I do not have a copy of Vista to build it nor test it with.
I tried your latest port of Lighttpd Kev but it doesnt work, nothing happens and the error log file says error,
at the moment im using an old version of your port :(
error file, 2006-11-29 19:20:46: (log.c.75) server started
BoxedUp: did you completely move the old install to another directory or back it up first. The latest version uses a newer version of cygwin, so the cygwin1.dll might be causing a conflict. Remove all cygwin1.dll files from your system, and only use the one supplied with the latest lighttpd.
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
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.
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?
BoxedUp: Josh Dick has a very good tutorial here.
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
edit: i made 1 mistake, fixed now thanks
BoxedUp: It sounds like you forgot to uncomment the mod_cgi module.
[...] 1.4.13 [...]
A plain zip file without installer would be appreciated.
This is an other windows release of lighty:
http://wlmp.dtech.hu/downloads/pub/LightTPD/LightTPD-1.4.13-Win32.exe
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.
Ben: this might be a better question for the lighttpd forum
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…
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…
David: please view the above comment.
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…
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:(
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
forget solved the blank page
with “.php” => “c:/lighttpd/php/php-cgi.exe”
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!
Anyone get mod_secdownload working?
why isn’t packed also?
why PHP isn’t packed also?
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 ?
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.
WLMP Project – Webserver-Package:
http://wlmp.dtech.hu/down_wlmp.php?lang=en
Contents of package:
LightTPD for Windows, MySQL , PHP, MiniPerl, OpenSSL, phpMyAdmin
Hi, I’m runnning 1.4.13 on Windows XP Pro. I noticed shortcuts (aka symbolic links on linux) don’t work in the windows version with virtual hosts.
Example: I have a directory english.domain.com and a shortcut (sym link) to espanol.domain.com, then the symlink will not be recognized and lighttpd goes to the default webpage.
Can that be fixed or is that a WIndows specific problem that cannot be overcome? it works fine on the Redhat production server.
forgot to mention that I also run PHP 5.2.1 as CGI, is that has anything to do with it…
Zavier: I think that is a Windows specific problem. Shortcuts on Windows do not work the same as symlinks on Linux in my experience.
Hello it ’s the first time that I use lighttpd. I have installed lighttpd-1.4.13-win-setup.exe. I make like written by . I open mozilla firefox on http://127.0.0.1:80, http://127.0.0.1:81, http://127.0.0.1:8080, http://127.0.0.1:3000, http://127.0.0.1:3001 but it does nothing.
Alessandro: check your firewall. It is probably blocking lighttpd.