Installation
=================================================================
You have 2 options how you can install this piece of shit

1.) with a tradition GNU way with autoconf and make 

2.) by hand

Then you must setup the Apache and MySQL.

The MySQL database and Apache setups must be made by hand.

Requirements:
=================================================================
Zend Framework 1.0.2+ - http://framework.zend.com
PHP 5.1.4+ - http://www.php.net with ext/mysqli
Apache 2.0+ - http://www.apache.org with mod_rewrite
MySQL 4.1+ with InnoDB support

Setup with configure
================================================================= 
You can use this method on any unix like environment (on Win32 you can use 
MinGW/MSYS http://www.mingw.org).

Configure script has all necessary configuration options, see output from  

$ ./configure --help

there you can see default values also.

A destination directory for the installation is set with --prefix option.
 
Example for the setup

$ ./configure --prefix=/usr/www/zfblog \ 
 --with-zflib=/usr/local/php/zf/ \
 --with-baseurl=/ \
 --with-dbhost=localhost \
 --with-dbname=zfblog \
 --with-dbusername=username \
 --with-dbpassword=password \
 --with-cachedir=/tmp

Some simple option explanation:

--with-zflib - it correspondents with the library directory in the Zend Framework package.
--with-baseurl - base url for the application. If we want see the application in
the URL http://example.com/homepage, we set --with-baseurl=/homepage.

--with-dbhost, --with-dbname, --with-dbusername, --with-dbpassword are database
connection parameters

--with-cachedir directory for application cache, must be write enable for the webserver user.

Next steps are:

$ make
$ make install

Setup by hands
================================================================= 
Unpack the package anywhere you want and set:
in the www/.htaccess file:
Set RewriteBase for the application base directory

in the app/HomeWebApp.php file:
const ZF_DIR="" set a directory where the Zend Framework's library directory is
Can be empty if Zend directory fo the Zend Framework is placed/linked(in unix) 
in the final /app/lib directory   

in the app/config.xml file:
Make settings for your database connection and the application cache.

Apache setup
=================================================================
A simple setup can be:

If we have the application installed in the directory /usr/local/zfblog and our
base url is /app:

Alias /app "/usr/local/zfblog"
<Directory "/usr/local/zfblog/www">
 AllowOverride All
 DirectoryIndex index.php
 Allow from all
</Directory>

If our base url is / we can use DocumentRoot

DocumentRoot "/usr/local/zfblog/www"
<Directory "/usr/local/zfblog/www">
 AllowOverride All
 DirectoryIndex index.php
 Allow from all
</Directory>

Database setup
=================================================================
Use zfblog.sql file as the setup for database structure. Connection parameters
are in the config.xml file. These are set automatically in the make install
phase or you can set these by hands.

Administration for a blog
=================================================================
Simple administration for a blog is in the URL http://blabla.bla/blog/admin, 
username and password are admin/admin. These are in the app/.htpassword. You
can create yourself, md5 auth via Zend_Auth is used see Digest Authentication 
chapter in the Zend Framework reference guide - 
http://framework.zend.com/manual/en/zend.auth.adapter.digest.html.

