Lighttpd install for Debian/Ubuntu users

Lighttpd install for Debian/Ubuntu users

by Walter Byrd -
Number of replies: 5

The moodle docs for installing lighttpd are for Redhat based distros like Fedora, or CentOS. I suspect they may be outdated at that. For example, the docs to install "lighttpd-fastcgi" but I don't think that is used anymore. It will not install in Debian.

I found some instructions that work for my Debian based Devuan installation. Devuan does not use systemd, so I had to make some modification - mostly I start with /etc/init.d instead of systemctrl.

Anyway, I was able to get moodle installed, and working with lighttpd using these instructions:

How to Install Lighttpd on Debian 9
February 13, 2020 by Jeff
 

https://www.rosehosting.com/blog/how-to-install-lighttpd-on-debian-9/

Finding documentation that works can be challenging. I was not able to nginx to work. So I thought I would pass this on.






Average of ratings: Useful (1)
In reply to Walter Byrd

Re: Lighttpd install for Debian/Ubuntu users

by Howard Miller -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers
...although lighttp is "not officially supported" by Moodle. Neither is nginx but loads of people use it...
In reply to Howard Miller

Re: Lighttpd install for Debian/Ubuntu users

by Leon Stringer -
Picture of Core developers Picture of Particularly helpful Moodlers

Howard: Is official support for web server software documented somewhere?

In reply to Leon Stringer

Re: Lighttpd install for Debian/Ubuntu users

by Howard Miller -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers
It *was* but is seems to have vanished. Anyway, I'll have a go...

Fully supported
* Apache
* IIS

"Not fully supported"
* lighttpd
* nginx
* cherokee
* zeus
* LiteSpeed
* PHP built-in development server

Any other software will throw an unsupported web server error.
Average of ratings: Useful (1)
In reply to Howard Miller

Re: Lighttpd install for Debian/Ubuntu users

by Leon Stringer -
Picture of Core developers Picture of Particularly helpful Moodlers

Every day's a school day: I did not know this! I'm glad IIS is there though.

In lieu of documentation it's defined in lib/setuplib.php:setup_get_remote_url() which confirms your list.