Difference between revisions of "lighttpd"

Jump to: navigation, search

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.

Line 4: Line 4:
  
 
You will also need to install php (maybe with an accelerator) as fast-cgi according to [http://trac.lighttpd.net/trac/wiki/TutorialLighttpdAndPHP these] instructions.
 
You will also need to install php (maybe with an accelerator) as fast-cgi according to [http://trac.lighttpd.net/trac/wiki/TutorialLighttpdAndPHP these] instructions.
 +
 +
It has been found to work well with PHP accelerators, for example [http://eaccelerator.net/ 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.
 
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.

Revision as of 09:16, 3 May 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