dcaccount
Posts: 150
Joined: Sun Jan 15, 2017 11:56 am

Most advisable lightweight Web server

Mon Jan 15, 2018 12:07 pm

Hello,

I would like to install a very lightweight PHP Webserver for my Pi3.

What is your advise, what one shall I install?

Thanks for helping,
daniele

User avatar
piglet
Posts: 900
Joined: Sat Aug 27, 2011 1:16 pm

Re: Most advisable lightweight Web server

Mon Jan 15, 2018 12:22 pm

I use lighttpd. As the name suggests, it's pretty lightweight and works well on my pi.

Just google: "lighttpd php on raspberry pi"

dcaccount
Posts: 150
Joined: Sun Jan 15, 2017 11:56 am

Re: Most advisable lightweight Web server

Mon Jan 15, 2018 1:28 pm

piglet wrote:
Mon Jan 15, 2018 12:22 pm
I use lighttpd. As the name suggests, it's pretty lightweight and works well on my pi.

Just google: "lighttpd php on raspberry pi"
Thanks!

User avatar
DougieLawson
Posts: 35547
Joined: Sun Jun 16, 2013 11:19 pm
Location: Basingstoke, UK
Contact: Website Twitter

Re: Most advisable lightweight Web server

Mon Jan 15, 2018 2:28 pm

piglet wrote:
Mon Jan 15, 2018 12:22 pm
I use lighttpd. As the name suggests, it's pretty lightweight and works well on my pi.

Just google: "lighttpd php on raspberry pi"
I was going to say NGinx. Same thing Google "NGinx php raspberry pi". I've found getting CGI programs to run with lightty is a pain. I've got a mix of Apache2, Lighttpd and NGinx across my 14 raspberries.
Note: Having anything remotely humorous in your signature is completely banned on this forum. Wear a tinfoil hat and you'll get a ban.

Any DMs sent on Twitter will be answered next month.

This is a doctor free zone.

dcaccount
Posts: 150
Joined: Sun Jan 15, 2017 11:56 am

Re: Most advisable lightweight Web server

Mon Jan 15, 2018 9:46 pm

DougieLawson wrote:
Mon Jan 15, 2018 2:28 pm
piglet wrote:
Mon Jan 15, 2018 12:22 pm
I use lighttpd. As the name suggests, it's pretty lightweight and works well on my pi.

Just google: "lighttpd php on raspberry pi"
I was going to say NGinx. Same thing Google "NGinx php raspberry pi". I've found getting CGI programs to run with lightty is a pain. I've got a mix of Apache2, Lighttpd and NGinx across my 14 raspberries.
Thanks for advising.
One question, does Lighttpd allow “reverse proxy” or shall I user another web server?

Thanks,
Daniele

User avatar
rpdom
Posts: 14746
Joined: Sun May 06, 2012 5:17 am
Location: Chelmsford, Essex, UK

Re: Most advisable lightweight Web server

Mon Jan 15, 2018 9:50 pm

Nginx is good for reverse proxy. I don't thing lighttpd can do that.

User avatar
DougieLawson
Posts: 35547
Joined: Sun Jun 16, 2013 11:19 pm
Location: Basingstoke, UK
Contact: Website Twitter

Re: Most advisable lightweight Web server

Mon Jan 15, 2018 10:07 pm

rpdom wrote:
Mon Jan 15, 2018 9:50 pm
Nginx is good for reverse proxy. I don't thing lighttpd can do that.
I've never tried a reverse proxy with Lightty (I always find Lightty very hard to configure). I know it works with Apache2 and NGinx.
Note: Having anything remotely humorous in your signature is completely banned on this forum. Wear a tinfoil hat and you'll get a ban.

Any DMs sent on Twitter will be answered next month.

This is a doctor free zone.

gkreidl
Posts: 5997
Joined: Thu Jan 26, 2012 1:07 pm
Location: Germany

Re: Most advisable lightweight Web server

Tue Jan 16, 2018 1:17 am

rpdom wrote:
Mon Jan 15, 2018 9:50 pm
Nginx is good for reverse proxy. I don't thing lighttpd can do that.
Of course it can: https://redmine.lighttpd.net/projects/1 ... s_ModProxy

I'm using it for almost a decade now.
Minimal Kiosk Browser (kweb)
Slim, fast webkit browser with support for audio+video+playlists+youtube+pdf+download
Optional fullscreen kiosk mode and command interface for embedded applications
Includes omxplayerGUI, an X front end for omxplayer

User avatar
piglet
Posts: 900
Joined: Sat Aug 27, 2011 1:16 pm

Re: Most advisable lightweight Web server

Fri Jan 19, 2018 9:17 am

DougieLawson wrote:
Mon Jan 15, 2018 2:28 pm
I've found getting CGI programs to run with lightty is a pain. I've got a mix of Apache2, Lighttpd and NGinx across my 14 raspberries.
Hmm - I didn't have any problems setting up for Perl. I did want to run the scripts along a http://domain/name path rather than http://domain/cgi-bin/name path and couldn't see how to do it...but other than that I didn't have any problems on the machine side of the keyboard.

Return to “General discussion”