Note: You are currently viewing documentation for Moodle 3.1. Up-to-date documentation for the latest stable version of Moodle is probably available here: lighttpd.

lighttpd: Difference between revisions

From MoodleDocs
No edit summary
(added WLMP link)
Line 12: Line 12:


* [http://tracker.moodle.org/browse/MDL-14638 Networking problem related to lighttpd]
* [http://tracker.moodle.org/browse/MDL-14638 Networking problem related to lighttpd]
* [http://en.wlmp-project.net/downloads.php WLMP project downloads for Windows packages]

Revision as of 11:41, 13 October 2008

Lighttpd (aka Lighty) is a lightweight webserver program with a small memory footprint. It is an alternative to Apache and IIS, which is particularly suited to systems which are low on resources, especially RAM. Lighttpd is ideal for people using VPS hosting. Even on hosts with plenty of resources, Lighty is apparently just as fast as Apache and sometimes faster, so is well worth considering.

Installation varies according to your platform, so check the instructions here.

You will also need to install php (maybe with an accelerator) as fast-cgi according to these instructions.

It has been found to work well with PHP accelerators, for example eAccelerator

One notable difference between Lighttpd and Apache is the expires directive that controls the caching of content. Apache allows you to set the expiry by file type e.g. making a jpg images stay in the browser cache for a week. Lighttpd will only let you specify folders to be cached.

See Also