Installing MOHA Chat
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.
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 Tuesday, 20th July 2010
More sponsors