NANOWEB, the aEGiS PHP web server
Installing nanoweb
Installation of the nanoweb web server should be fairly easy, as the
commandline tool install-sh will do the work for most of you.
in detail:
nanoweb requires the interpreter of the PHP scripting language to be
present on your system. You can get the source of it from
www.php.net; compile it for
»CGI« or »CLI« support by executing the configure script in the unpacked
source distribution this way:
./configure --with-cgi --enable-sockets --enable-pcntl (for TCP/IP
capabilities and multiprocess support)
and additionally --with-zlib --with-mysql (for transparent
compression via mod_gzip and MySQL-logging support)
After invoking »make« to build the PHP binary, you should install
it to /usr/local/bin/ (or otherwise change the first line in
nanoweb.php).
You may want to create a user and a group named "www-data" (if you want
another user/group, remember to edit the default configuration file)
Run ./install-sh and follow instructions ...
Type 'nanoctl start' to start the server and connect to
http://localhost/
NANOWEB, the aEGiS PHP web server
Index