[NANOWEB DOCUMENTATION]

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 --enable-cli --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).

If you are building PHP 4.2.x, the command line interpreter binary is located in sapi/cli. The "php" binary in the main directory is the CGI version, and should not be used for running nanoweb.

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