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.8.x - http://framework.zend.com
PHP 5.2.6+ - http://www.php.net with ext/mysqli.
Apache 2.0+ - http://www.apache.org with mod_rewrite
MySQL 5 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).

After extracting a source tarball use configure scripts in a 'script' subdirectory.

$ tar -xzf zfMySite-3.0.tar.gz
$ cd zfMySite-3.0/scripts

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/library \
 --with-baseurl=/ \
 --with-dbhost=localhost \
 --with-dbname=zfblog \
 --with-dbusername=username \
 --with-dbpassword=password \

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

Next steps are:

$ make
$ make install

Setup by hand
================================================================= 
- Unpack the package anywhere you want
- Copy all *.in files for a same name without ".in", e.g. :
 $ cp public/.htaccess.in public/.htaccess
- setup variables between like @xxx@ in these copied files
- modify other options in 'application/configs/application.ini' file if necessary
- make data/cache and data/logs writable for user under the apache server works

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

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

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

If our base url is / we can use DocumentRoot

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

Database setup
=================================================================
Use zfblog.sql file as the setup for database structure. Connection parameters
are set automatically in the make install phase or you can set these by hand
in 'application/configs/application.ini'

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 'application/configs/.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.
