lighttpd 1.4.9b for Windows is released

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.

Revision ‘b’ of lighttpd 1.4.9 for Windows has been released. Main changes are:

  • Compiled SSL support in.
  • Wrote a batch file to generate the SSL server certificates, based on lighttpd’s doc ssl.txt.
  • Removed unneeded .a and .la files from the lib directory

Download lighttpd 1.4.9b for Windows

Comments on this entry are closed.

  • Kevin Williams Jan 26, 2006 @ 10:30

    I don’t know if lighttpd is “officially supported” on Windows, so I’m not sure what to do with bug reports. I posted an error on the lighttpd forums, http://forum.lighttpd.net/topic/151#new.
    Thanks for building this for Windows! Not all of us can code on nice *NIX based systems.

  • Kev Jan 26, 2006 @ 10:57

    fcgi and scgi are known to have problems on windows. I’m in the process of determining the reasons.

  • Uwe Jan 27, 2006 @ 16:14

    At first : Thank you for your work on lighttpd 1.4.9a For Windows !
    But i have a problem and nobody to ask things like that.
    I get
    2006-01-27 21:12:13: (plugin.c.165) dlopen() failed for: C:/lighttpd/lib/mod_auth.dll No such file or directory
    with the lighttpd.conf :
    server.modules = ( … “mod_userdir”, … “mod_auth”, …)

    userdir.include-user = ( “test”, “xxx” )
    userdir.path = “htdocs”
    userdir.basepath = “/user/”

    auth.backend = “plain”
    auth.backend.plain.userfile = “lighttpd-plain.user”
    auth.backend.plain.groupfile = “lighttpd-plain.group”
    The files lighttpd-plain.user and lighttpd-plain.group have the same data
    uwe:test
    test:test
    xxx:test
    because i cant found infos for Group.
    I saved tem in
    C:lighttpd
    and
    C:lighttpdetc
    because i was not feel certain.
    In C:lighttpdhtdocs i have the sub-folders : a,b and user. In user i have the sub-folders : test, uwe and xxx.
    May you have a Tip for a good tutorial (in german might be marvellous) or you can send my a working lighttpd.conf for WebDAV, Userhandling and FastCGI.
    I am planning to write a FastCGI wich is in contact to users via webpages. Depending on whose selektion it will copy files to whose folders (in LAN or in WEB).
    It should be possible to create new users via FastCGI. But this is no must.
    Thank you for response in advance.
    Uwe

  • Jacob Smails Jan 27, 2006 @ 17:32

    Hi Kevin –
    I’ve been trying to download the lighthttpd from the link in this post, but the site seems to be down. You may already know about that, but I thought I’d let you know as I’m anxious to try it out.
    Keep up the good work!
    -J.

  • Jaros?aw Zabie??o Jan 27, 2006 @ 21:57

    It does not work for my WinXP Pro. lighttpd.exe -f ../etc/lighttpd.conf just exit without any messages. There is no process working in memory, there is nothing in logs (tehy are empty) , there is empty lighttpd.pid file created (I added server.pid-file = “C:/lighttpd/logs/lighttpd.pid”)

  • huwnet Jan 28, 2006 @ 5:34

    I am having the same proble as Jaroslaw Zabiello.
    It would be really nice if this problem could be resolved :D
    Thanks

  • Kev Jan 28, 2006 @ 11:26

    It definitely works for me on Windows XP. In fact I built this revision on Windows XP and then tried it on another XP machine and a 2000 machine to verify it. I believe that mod_auth may not be working properly though. I have never used mod_auth personally. To those of you having trouble, please try turning off mod_auth and let me know if it runs correctly, in order to see that the main package itself without mod_auth work alright.

  • huwnet Jan 28, 2006 @ 11:59

    It definetly isn’t mod_auth as that is not enabled on a default install

  • Kev Jan 28, 2006 @ 15:44

    What may be a problem is if you have another version of Cygwin installed. Search for cygwin1.dll on your system.

  • Jaros?aw Zabie??o Jan 28, 2006 @ 18:19

    No, there is no other cygwin1.dll in my system. I have searched the whole my disk c.

  • Uwe Jan 29, 2006 @ 3:47

    I am sorry for my failure. I use the version lighttpd-1.4.9-win-setup.exe (without a or b – //kevinworthington.com/?p=101). Without mod_auth it works as Web-Server and as WebDAV-Server.

  • Kev Jan 29, 2006 @ 13:05

    Jaros?aw Zabie??o: there should not be a pid file. Pid files are for unix-like systems, and Windows does not normally use them in the same sense.

  • Jaros?aw Zabie??o Jan 29, 2006 @ 21:21

    Kev: I have reinstaled lighttpd 1.4.9b again. This time I did not change anything in the config file. Lauching: C:lighttpd>sbinlighttpd.exe -f etclighttpd.conf does not execute any process. Nothing! There is no warnings, no errors, and log files are empty… I am using Windows XP Pro SP2, Athl64 3000+, 2GB RAM.

  • Jaros?aw Zabie??o Jan 29, 2006 @ 21:29

    Kev: I tried again but (withoud background): C:lighttpd>sbinlighttpd.exe -f etclighttpd.conf -D and it started working! Something might be broken when lighttpd wants to go in background.

  • huwnet Jan 31, 2006 @ 13:18

    I can confirm the same workaround Jaroslaw used also works for me (Thanks :D).
    It also spits out:
    2006-01-31 18:12:59: (server.c.725) WARNING: unknown config-key: status.status-u
    rl (ignored)
    2006-01-31 18:12:59: (server.c.725) WARNING: unknown config-key: status.config-u
    rl (ignored)
    which might help you fix the problem

  • huwnet Jan 31, 2006 @ 15:43

    Another question (Sorry!), does PHP 5.1.2 fix the bug that stops lighttpd from running php in fastcgi mode?

  • Kev Jan 31, 2006 @ 16:57

    huwnet: no, php 5.1.2 doesn’t fix the fastcgi problem. I even tried to compile a cygwin version of php, and still no dice.

  • huwnet Feb 2, 2006 @ 13:46

    Is there a PHP bug report for this issue?

  • Kev Feb 2, 2006 @ 15:26

    Read this post from the lighttpd forum for information about the bug.

  • Guy Robinson Feb 2, 2006 @ 21:41

    Kevin,
    Thanks for this. Working well. Should webDAV work? I’m not sure if it’s my settings or another problem but I can’t seem to access it.
    Guy

  • Kev Feb 3, 2006 @ 6:19

    Guy: I’ve never tried to use WebDAV, so I don’t know. I’m not sure that the option is compiled in for this version. I will check on this later today and post another comment with my findings.

  • Kev Feb 3, 2006 @ 7:55

    mod_webdav is listed as an enabled plugin, however webdav-properties is listed as a disable feature for this build.

  • Guy Robinson Feb 3, 2006 @ 19:36

    Thanks Kevin. Can I ask for it to be turned for the next build ;-) Please!! Really appreciate your efforts and lighttpd’s performance. Very nice…
    Guy

  • Sniper Fox Feb 7, 2006 @ 8:53

    Are there any issues with PHP as regular CGI(not Fast CGI)? Apache is crashing 8 to 10 times per day and I’m looking for alternatives (It’s windows XP Pro, so I can’t use IIS because of the ultra-low connection limit).

  • Kev Feb 7, 2006 @ 16:57

    I have been running this site using CGI for PHP and haven’t seen any problems. I’m guessing that if FastCGI worked it would be faster than regular CGI. I haven’t had Lighttpd crash at all using CGI for PHP. Also note that this isn’t a very high traffic site.

Next post:

Previous post: