Just when you thought that things couldn't get any more crazy on the PHP front, someone comes out and does one better. Nanoweb is the latest in the craze to try to stretch PHP to the limits and make it do things it's not supposed to be able to do.
Nanoweb is a modular http server written in PHP 4.2. Nanoweb's main features are: Decent performance, HTTP/1.1 compliant, CGI support, Name based virtual hosts, Authentication, Keep-alive connections, User directories support, Server Side Includes, Apache combined and MySQL logging, gzip compression support, URL mispelling correction and more.
And, of course, the question that's on everyone's lips: Why did I do it ? I found the idea of using a language mostly aimed at web scripting to write a web server was quite funny. That's all, really ...
This cracks me up - I mean, it's good that people are contstantly stretching the boundaries of PHP and making it do things that others would think crazy, but there's a line (heh). It seems like a lot of work on something that was just a "toy" for the developer and really couldn't be much more than that. But, hey, you never know....a native PHP server might be the way to go in the future and this guy could have gotten it right. Apache better watch out....
Thanks to PHPEverywhere for the link.




