Thursday, November 8, 2012

HOWTO : Upgrade to Hiawatha 8.6 on Ubuntu Server 12.04 LTS

Upgrade to Hiawatha 8.6

If you are upgrading from previous version of Hiawatha to version 8.6, you just follow the following step only.

Download the source code of Hiawatha and compile. Then install the package as normal.

sudo apt-get install php5-fpm

sudo php-fcgi -k -c /etc/hiawatha/php-fcgi.conf

Disable the php-fcgi :

sudo update-rc.d -f php-fcgi remove

sudo nano /etc/hiawatha/hiawatha.conf

Go to the following section and change the "ConnectTo =" to "ConnectTo ="

The entries at COMMON GATEWAY INTERFACE (CGI) SETTINGS should be looking like this.

CGIhandler = /usr/bin/perl:pl
CGIhandler = /usr/bin/php5-cgi:php
CGIhandler = /usr/bin/python:py
CGIhandler = /usr/bin/ruby:rb
CGIhandler = /usr/bin/ssi-cgi:shtml
CGIextension = cgi

FastCGIserver {
   FastCGIid = PHP5
   ConnectTo =
   Extension = php, php5
   SessionTimeout = 30

Set the php-fpm.conf file :

Append the following to the php-fpm.conf.

sudo nano /etc/php5/fpm/php-fpm.conf

user = www-data
group = www-data
listen =
pm = static
pm.max_children = 100
chroot = /var/www/
chdir =/

sudo /etc/init.d/hiawatha restart

That's all! See you.