Summary

latest news

09.03.2007

MOHA Chat 0.1rc1 was released on sourceforge.net.

read more ...

06.03.2007

MOHA Chat 0.1b10 was released on sourceforge.net with PostgreSQL support.

read more ...

sponsors

Advertise here?

other information

Support This Project

Google PageRank

Home

Installing MOHA Chat

Print View

MOHA Chat 0.1b3 or prior are obsolete releases. It is recommended that you install the latest release. For the latest documentation click documentation in the main menu.

Pre-requisities

Required software are :

  • Apache Web server with PHP 5.x or higher. (PHP 5.1 or above is recommended)
  • A MySQL server, 4.1.0 or higher.

Web installer

If you have extracted the source into your document root, direct your browser to <root of MOHA Chat Installation>/installer/ and follow the simple instructions.

Manual installation

Creating Database tables

WARNING - REMEMBER: ALWAYS BACK UP YOUR DATABASE BEFORE ATTEMPTING TO INSTALL OR UPGRADE!!!

Run the queries in <MOHA Chat Source>/dist/dbScript.sql on the database you wish to create the tables required to run MOHA Chat. (See Setting up the database)

Configuring MOHA Chat

Rename <MOHA Chat Source>/config/configuration.php-dist to <MOHA Chat Source>/config/configuration.php

Now set the parameters in <MOHA Chat Source>/config/configuration.php

Sample Configuration File Contents

<?php

   /**
    * Database connection information
    *
    */

   $databaseHost      = "localhost";
   $databaseName      = "chat";
   $databaseUser      = "root";
   $databasePassword   = "";

   /**
    * User table information
    *
    * If you plan to use your own login page leave these blank
    *
    */
   
   $usersTable         = "users";
   $usernameField      = "UID";
   $passwordField      = "PW";

   // Title
   $title            = "MOHA Chat";
         
   /**
    * Links required to redirect users
    *
    */

   $forgotPasswordLink   = "/login/forgot";
   $registerLink      = "/signup";
   $loginLink         = "login/";
   
   // All messages will be archived if set to true
   $archive         = true;
      
?>

Congratulations! You have MOHA Chat Installed on your server/system

With your web browser go to the root of MOHA Chat Installation

Last modified on Monday, 14th September 2015

More sponsors