New on LowEndTalk? Please Register and read our Community Rules.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
Comments
This guide is for Debian, but it mostly works for CentOS as well: http://www.howtoforge.com/lighttpd_mysql_php_debian_etch
Basically, the process is so simple that a script isn't very necessary unless you have to install a lot of servers in the same fashion. Out of the box, lighttpd comes with great settings.
Thank you very much for the link, @joepie91!
//Edit:
Just found a link to a tutorial by the same author for CentOS 6.3:
http://www.howtoforge.com/installing-lighttpd-with-php5-php-fpm-and-mysql-support-on-centos-6.3
I guess I will try lighttpd on an idle machine at BuyVM over the festive days. Always nice to learn something new and lighttpd sound promising.
Just found a link to a tutorial by the same author for CentOS 6.3:
http://www.howtoforge.com/installing-lighttpd-with-php5-php-fpm-and-mysql-support-on-centos-6.3
Hmm, that guide seems to use FPM. Last time I tried that, it didn't work out very well... random HTTP 500 errors, ridiculous RAM usage, etc... I recommend using lighttpd's built-in FastCGI manager instead :P
Okay, thanks. I'll test it! Any Newbie-conform tutorial for that at hand, maybe?
By the way - Here is a tutorial for the Virtual Host configuration of Lighttpd:
http://www.cyberciti.biz/faq/howto-lighttpd-virtualhost-configuration/
We actually enjoy IIS 7.5 on Windows Server 2008 R2. All our applications are written using Microsoft .NET Framework and hosting it on Linux with Mono is not such effective as native Microsoft platform
Most likely you can follow the Debian tutorial verbatim, except you'd have to change the package manager and package names, and you may have to use
service
to start the installed servicesHE SAID IIS! HE SAID IIS!!!!!111!!!!
Sorry, but I still have have my dignity.
Looking for the equivalent of php-cgi, but will surely find it! Thanks!
I searched a bit more, and found http://www.howtoforge.com/lighttpd_php5_mysql_centos5.0
@joepie91: Thanks a lot!
Old thread resurrection alert!
Thinking about spinning up a lighttpd instance because configuring cgi/perl support with nginx is proving to be a pain in the ass (I might just end up throwing it on my virtualmin or ispconfig (Apache) boxes, but I'd like to play a bit with configuring lighttpd)
@joepie91 - these how2forge lighttpd guides for Debian/Ubuntu seem a bit newer, and seem to involve the built-in lighttpd fast-cgi support. These should work fine no?
http://www.howtoforge.com/installing-lighttpd-with-php5-and-mysql-support-on-ubuntu-11.10
http://www.howtoforge.com/installing-lighttpd-with-php5-and-mysql-support-on-debian-squeeze
nginx + fast-cgi;
1.) easy to configure
2.) a lot of different configurations possible
3.) lightweight and fast
4.) if good configured = secure, and stable;
5.) without docs hard to configure;
6.) very large community + many guides (but i recommend to read official docs);
About apache:
1.) eat a lot of memory
2.) no another problems knowed.
Cheerokee
1.) nothing cannot to say (control panel is good, but nothing more) + it's not secure;
IIS
1.) trash software, eat resources as like apache2, but very usefull in business.
lighthttp
1.) ~same as like nginx, but i more like nginx.
Make sure you qualify that as HTTPd. The Apache Traffic Server's baws from my initial toying around.
Seems like it. I'm assuming that the mod-enable tool sets the same configuration, without explicitly specifying a number of workers etc. That's really the most important part.
Why would anyone use Lighttpd instead of Nginx?
nginx + php-fpm + apc has been godsend.
perl cgi has been a pain to set up for nginx... under lighttpd there is built in perl cgi support
Nginx > *
Cherokee for a LEB. Very easy to set configure and low memory usage.
I may use Apache if I did something that needed it: especially if I needed a particular module like mod_pagespeed or mod_evasive.
In practice, the only place I get a choice is my LEB which runs Cherokee.
Nginx + FastCGI
Works best if you compile from source and configure to meet you needs.
g-wan is like 100x faster than nginx and lighttpd combined....
only for static content though...
take a look at monkey-project.. it is faster than nginx too.. and many other upcoming projects.
Grave digger
I like Lighttpd. Haven't tried Nginx or Cherokee.
May I ask a question?
for PHP, light seems the best, now apache 2.4 still fall very much?
and
if I use httpd for perl or python even ruby, the situation lighttpd still in lead position?