Installing MOHA Chat
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.
Post installation
Please remember to give write access to the cache folder /cache for the web server user, or some of the plug-ins will not work (Plug-ins are unable to cache content they retrieved from external servers).
Try this command from inside MOHA Chat root. chmod 777 cache/
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
$databaseHost = "localhost"; $databaseName = "chat"; $databaseUser = "root"; $databasePassword = "";
$usersTable = "users"; $usernameField = "UID"; $passwordField = "PW";
$title = "MOHA Chat";
$forgotPasswordLink = "/login/forgot"; $registerLink = "/signup"; $loginLink = "login/";
$archive = true;
$tablePrefix = "mh_ch_";
$pwAlgo = "md5";
?>
Post installation
Please remember to give write access to the cache folder /cache for the web server user, or some of the plug-ins will not work (Plug-ins are unable to cache content they retrieved from external servers).
Try this command from inside MOHA Chat root. chmod 777 cache/
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, 12th February 2007
|