...

View Full Version : Nanoweb webserver



matak
07-27-2007, 04:33 PM
I'm looking for a web server written in PHP, and as first result i found Nanoweb (http://nanoweb.si.kz/). Did anyone here work with that web server, or any other one written in PHP.

What could be advantages and disadvantages of using a web server that is not Apache?

StupidRalph
07-27-2007, 05:40 PM
I'm not sure about the disadvantages. I have LightTPD on my laptop. Its intsalled as a CGI (FastCGI) and not a module. No real reason, other than they had a link on the Ruby on Rails site when I was reading up on it about 2 years ago.

www.lighttpd.net
http://trac.lighttpd.net/trac/wiki/TutorialLighttpdAndPHP

GJay
07-27-2007, 07:03 PM
The main disadvantage is that it's not as popular as apache, and so won't have been through the same kind of testing and variety of use-cases that apache has. From the looks of that site, it's not a particularly active project, with releases being once a year- not really something I'd really want to be relying on.
It's not to say it would be bad to use it, but there are a lot of risks, and when apache and (even more so) lighttpd are so easy to setup I don't really see the point.

matak
07-28-2007, 12:29 AM
It's not to say it would be bad to use it, but there are a lot of risks, and when apache and (even more so) lighttpd are so easy to setup I don't really see the point.

I just liked the idea that there is a webserver fully written in PHP, and asked for opinions since this is popular forum, there was hope people will have experience with that server.

Also since it's OSource, and PHP (language i understand the most), and since it's much simpler than Apache i thought of looking up inside to see what needs to be done when building a web server. Probably the same techniques are used in any languages to use this famous http protocol, and idea of having a program which communicates by http protocol is fun to me...

firepages
07-28-2007, 03:33 AM
nanoweb is cool... but it will never reach the speed(reliably) of apache , I am all for using PHP where possible... but in production its use would be detrimental to overall performance, as noted there is nothing wrong with several existing webservers with proven trackrecords.

matak
07-28-2007, 05:17 AM
as noted there is nothing wrong with several existing webservers with proven trackrecords.

hey, i didn't say it's wrong. i just stated that it might be good for learning how to make webserver, for the people who only use PHP.
i saw a page about python, and how to create web server with it.. it's like 50 lines of code :eek: , looks easy.

i'm sure gonna stick to apache, but it's always good to learn new things. maybe someone didn't even know that web server fully written in PHP egzists :) i surely didn't



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum