The Lighty2Go Project!

Lighty2Go is your personal, portable LightTPD, MySQL & PHP (LiMP) stack on a stick. Take it with you on your USB thumdrive and have some fun.

For Lighty2Go to exist and to have gotten to where it is there are many THANKS I have to give out first.

First and foremost:
Big Thanks to Jan Kneschke for writing LightTPD and giving us all an excellent, new, fun, webserver app to play with.

spacer

The next one up for thanks is:
Kevin Worthington, Kevin is the guy that back in 2005 started porting LightTPD to windows. Thanks Kevin for the effort put into Lighty for windows and all the great info you have provided!

And now the most current group that gets thanks:
Are the good folks over at the WLMP Project. They have an excellent Lighttpd, MySQL, PHP all-in-one package for windows.
WLMP Project
The object of WLMP Project is to create a LightTPD-based, secure and fast webserver package that runs under Windows platform, with MySQL database-server and PHP support.

Lighty2Go uses bits of code and parts from all of these projects to bring you a portable LightTPD, MySQL, PHP app for Windows. There is absolutely nothing wrong or missing from any of these other packages or projects, and you may not even see a reason for LiMP on a stick, or be wondering why I did this. I guess it’s because I happen to really like portable apps and this was kind of a proof of concept type thing.

27 Responses to “The Lighty2Go Project!”

  1. Joe spacer spacer , on August 26th, 2007 at 9:20 pm Said:

    Limp is cool name. I will use it and see how it goes on my 2 gig usb drive .

    Thanks

  2. Andrew spacer spacer , on September 25th, 2007 at 8:23 am Said:

    Thanks for putting this project together. I had some trouble getting things working, and for some reason change.com wouldn’t run. I’ve edited base_files so that change.com isn’t needed any more. Seems to work. Let me know if you would like me to send you the changes. Cheers.

  3. Tom spacer spacer , on September 25th, 2007 at 10:03 am Said:

    Andrew – couple questions -
    1 – what was happening when change.com was trying to run?
    was there an error? What OS are you running?

    2 – when you say you edited the base_files so that change.com isn’t needed is it still able to use a ‘relative’ path? or did you hard-code the path(s)?

    If you want to send me 1 or 2 of them so I can see you can email them to:
    tom [ @ ] lighty2go [ dot ] com

  4. Tom spacer spacer , on September 26th, 2007 at 4:43 pm Said:

    Thanks for the email Andrew and the input and edits. I have tweaked them a bit more and mashed them together with some other tweaks/changes and low and behold v0.9 is ready and no more change.com.

  5. Lars spacer spacer , on September 29th, 2007 at 1:54 pm Said:

    This does not run for me. When I try to start LightTPD I get this:
    base-docroot doesn’t exist: /Lighty2Go/HTDOCS
    setting default values failed
    Press any key to continue…

  6. Lars spacer spacer , on September 29th, 2007 at 1:57 pm Said:

    It removed part of my message (thought it was HTML I guess) so I changed it a bit, hopefully you get the idea.
    configfile.c.1136: base-docroot doesn’t exist: /Lighty2Go/HTDOCS
    server.c.593: setting default values failed

  7. Tom spacer , on September 29th, 2007 at 6:56 pm Said:

    Lars are you using v0.9?
    and can you tell me what OS version you are running.

  8. Lars spacer spacer , on September 30th, 2007 at 9:45 am Said:

    Yeah, 0.9 on Windows Vista.

  9. Tom spacer , on September 30th, 2007 at 7:30 pm Said:

    OK – Lars….
    Can you try 2 things for me ….
    (1)Try version 0.8 and see if that works, you will have to add -D on line 6 of the Start-Lighty.bat file before the -f and leave the rest of the line the same so it looks like this:%cd%\lightTPD\lighttpd.exe -D -f %cd%\lighttpd\conf\lighttpd-prg.conf -m lib.
    (2)Can you also ‘re-try’ version 0.9 and make the same adjustment to Start-Lighty.bat as above.

    –Tom

  10. Lars spacer spacer , on October 1st, 2007 at 12:43 pm Said:

    Method 2 does not work, changes nothing. I’ve tried running 0.8 but I get an error about change.com not working on 64-bit OS. Sorry, I forgot to mention that it’s 64-bit, and not 32-bit Vista that I am running.

  11. Tom spacer , on October 1st, 2007 at 6:44 pm Said:

    Ahh OK – that might be the issue.
    I am not sure if this will run on Vista 64-bit and unfortunately right now I don’t have any way to test on Vista.
    Can you go to WLMP’s download page and see if their 1.4.18-1 version by itself runs on your Vista 64. If theirs does run then I should be able to get Lighty2Go to work as well. But if there version doesn’t run then it will be a no-go for Vista 64.
    Let me know.
    –Tom

  12. Lars spacer spacer , on October 2nd, 2007 at 12:16 pm Said:

    LightTPD runs just fine when I open the TestMode.bat file.

  13. Tom spacer spacer , on October 2nd, 2007 at 2:50 pm Said:

    OK Lars can I ask you to try another test for me.
    Can you put this file into the root of the Lighty2Go folder and see if it will start LightTPD.
    This is a tweaked version of the Start-Lighty bat file that *may* work for Vista.
    Let me know.
    –Tom

  14. Lars spacer spacer , on October 2nd, 2007 at 4:41 pm Said:

    No dice, gives the same errors I’m afraid.

  15. Tom spacer spacer , on October 2nd, 2007 at 4:46 pm Said:

    Well that’s a bummer –
    by saying “The same errors” – are you referring back to:
    “base-docroot doesn’t exist: /Lighty2Go/HTDOCS”
    as the error?
    Also do you by any chance have “Cygwin” installed on your PC?

  16. Lars spacer spacer , on October 3rd, 2007 at 8:33 am Said:

    Yeah I am, same error as with the original .bat file.
    And I do have Cygwin installed.

  17. Tom spacer spacer , on October 3rd, 2007 at 10:25 am Said:

    OK Lars – I got it …
    Before starting anything from the Lighty2Go folder … drop to your cygwin shell and run the command: umount -A and then try running Lighty2Go.
    I took a different approach and started to realize that this wasn’t an issue with ‘Vista’. It has to do with the way cygwin has the drive mounted and doesn’t recognize the way the slashes are in the .conf file.
    Try 2 things for me:
    The default Start-Lighty.bat file and see if that works.
    and
    The tweaked ‘Vista’ version that I linked to above and see if that works.
    Thanks for being my ‘test’ for Vista and keep me posted.
    –Tom

  18. Lars spacer spacer , on October 3rd, 2007 at 10:54 am Said:

    Wonderful!
    It works with the default .bat file (The one you supply in the download)
    Thank you very much for your support, I appreciate it.
    (Also, sorry for using Windows Vista but I have to do it to get DirectX 10 spacer )

  19. Tom spacer spacer , on October 3rd, 2007 at 12:05 pm Said:

    No man thank you — I need people testing and using L2G in different set-ups so I know what to work on and fix.
    I am definitely glad to here that it works with the default file, so the one I made ‘just for Vista’ isn’t necessary.
    Sorry it took so long to get you going – I really appreciate you sticking with me and the project until it was resolved.

    –Tom

  20. steve spacer spacer , on October 5th, 2007 at 1:16 pm Said:

    I too am having some trouble… (WinXP Pro XP2)

    I DL’d ver 1.0 of Lighty2Go, and unzipped it to E:\Lighty2go (a root folder on my USB Key.

    When I run the set-path.bat it seems to work, copies over a bunch of batch files from the base_files dir, and launches the traytool.exe file.

    In the tray, I get 2 options… [About | Exit], no options to start/stop Lighty/MySQL etc.

    If I try to run one of the “copied” batch files, the Lighty one gives me this cygwin error…[see below] (note, if I run the MySQL one by itself, it runs just fine)

    PS The only configuration change I have made, is I set the server.port in the Lighty Config to use 81 (since my localhost usually has Apache running on 80)

    The error I’m getting…

    ==========
    Starting LightTPD…

    3 [main] ? (2528) E:\Lighty2go\lightTPD\LightTPD.exe: *** fatal error – sy
    stem shared memory version mismatch detected – 0x75BE0096/0x2D1E009C.
    This problem is probably due to using incompatible versions of the cygwin DLL.
    Search for cygwin1.dll using the Windows Start->Find/Search facility
    and delete all but the most recent version. The most recent version *should*
    reside in x:\cygwin\bin, where ‘x’ is the drive on which you have
    installed the cygwin distribution. Rebooting is also suggested if you
    are unable to find another cygwin DLL.

    4 [main] ? (2496) E:\Lighty2go\lightTPD\LightTPD.exe: *** fatal error – sy
    stem shared memory version mismatch detected – 0x75BE0096/0x2D1E009C.
    This problem is probably due to using incompatible versions of the cygwin DLL.
    Search for cygwin1.dll using the Windows Start->Find/Search facility
    and delete all but the most recent version. The most recent version *should*
    reside in x:\cygwin\bin, where ‘x’ is the drive on which you have
    installed the cygwin distribution. Rebooting is also suggested if you
    are unable to find another cygwin DLL.
    Press any key to continue…
    ==========

    The version I have, is in C:\cygwin\bin\cygwin1.dll (version 1005.19.0.0 from RedHat

    APIVersion: 0.15
    BuildDate: 2006-01-20 13:28

    I would really like to *not* have to change this file… is there a way I can point to another version?… or can I set something to skip this test (e.g. is it really breaking something?)

    Thanks for any assistance

  21. Tom spacer , on October 5th, 2007 at 10:06 pm Said:

    Steve – step #1 the traytool has 2 menu’s a right-click and left-click the right-click menu is the one you want.
    spacer
    Once you have that figured out – Lighty2go does not really ‘play nice’ with cygwin on the same PC.
    So make sure that you don’t have anything “running” from within cygwin while trying to run L2G. Also make sure you run the command umount -Afrom the cygwin shell BEFORE running any of the batch files from the traytool “right-click” menu.
    Also you *may* want to try stopping the Apache service while you try running L2G. That way you don’t have to make any adjustment to the L2G config to just make sure it runs in the default set-up.
    Try that and let me know.

    –Tom

  22. Slow958 spacer spacer , on November 6th, 2007 at 12:02 am Said:

    This is the best ever! Thank you very much!

  23. Darren spacer spacer , on December 6th, 2007 at 7:46 am Said:

    Can you explain *why* cygwin is interfering?
    umount -A is pretty destructive to the local cygwin environment.

    Is there no other way round this?

  24. Tom spacer spacer , on December 6th, 2007 at 12:53 pm Said:

    Hey Darren –
    I also saw your post in the forum. About only needing to run umount /
    As to the *why* for this – I am still looking into it it has something to do with the way Windows sees folder paths when cygwin has the disk mounted.
    Also hang tight – Tobbe in the forum has supplied some code that may get L2G to run from any folder location including locations that are not top level directories, and paths with spaces in them etc.
    I will *hopefully* be putting this code through its paces this weekend and with any luck it might also resolve the cygwin issue.

    –Tom

  25. Muthu spacer spacer , on November 21st, 2008 at 1:19 am Said:

    Hi,I have installed in D drive. But i could not open php my admin.Is there any thing change in php.ini file.
    Kindly let me know.

  26. Tom spacer , on November 23rd, 2008 at 11:38 pm Said:

    Muthu – I am posting v1.5 tonight can you download and test the new version?
    Thanks
    –Tom

  27. Muthu spacer spacer , on November 26th, 2008 at 12:47 am Said:

    Hello tom,

    I have downloaded latest file which you have pasted.
    But this is like .7z document..I could not open this document file to see php panel.
    Can you help me ?

  • Downloads & Info

    • Get Lighty2Go!
    • Lighty2Go README
  • Much Thanks To...

    • Aestan Software
    • Kevin Worthington
    • LightTPD
    • Lighty Tray
    • LightyPhpPortable
    • MySQL
    • PHP
    • phpMyAdmin
    • WLMP Project
  • Recent Comments

    • kaspersky on Version 0.4 Available
    • mchaz84 on Sorry folks – Another Bugfix Release version 1.5.2
    • CableGuy on Sorry folks – Another Bugfix Release version 1.5.2
    • Lone on Linux love for the Verizon EVDO USB720
    • Tom on New Release! Version 1.5 is Available
    • Tom on New Release! Version 1.5 is Available
  • spacer
  • Meta

    • Log in
    • Entries RSS
    • Comments RSS
    • WordPress.org
gipoco.com is neither affiliated with the authors of this page nor responsible for its contents. This is a safe-cache copy of the original web site.