Installing phpMyChat Manually
phpMyChat is a web‑based chat application written in PHP that allows real‑time communication between users. It’s lightweight, customizable, and can be installed on any standard PHP/MySQL hosting account. phpMyChat requires manual installation on your hosting account.
Why Use phpMyChat?
Section titled “Why Use phpMyChat?”- Provides real‑time chat rooms for your website.
- Supports multiple languages and themes.
- Easy to configure and extend with plugins.
- Compatible with all ruachost.com hosting accounts.
Steps to Install phpMyChat (Manual)
Section titled “Steps to Install phpMyChat (Manual)”-
Create a MySQL Database.
- Log in to cPanel at ruachost.com.
- Use the MySQL Database Wizard to create a database and user.
- Assign full privileges to the user.
- Note the database name, username, and password.
-
Download phpMyChat.
- Visit the official project page: phpMyChat on SourceForge.
- Download the latest
.zipfile (e.g.,phpMyChat-Plus_1.94-RC3.zip).
-
Upload Files to Your Hosting Account.
- Use FTP or File Manager in cPanel to upload the
.zipfile to yourpublic_htmldirectory. - Alternatively, upload to a subdirectory (e.g.,
example.com/chat).
- Use FTP or File Manager in cPanel to upload the
-
Extract Files.
-
Log in via SSH or use File Manager.
-
Navigate to the directory where you uploaded the file.
-
Run:
Terminal window unzip phpMyChat-Plus_1.94-RC3.zip -
The files will be extracted into a
plusdirectory.
-
-
Configure Database Settings.
-
Open
plus/config/config.lib.phpin a text editor. -
Update the following lines with your database details:
define("C_DB_NAME", 'your_db_name');define("C_DB_USER", 'your_db_user');define("C_DB_PASS", 'your_db_password'); -
Save and close the file.
-
-
Populate the Database.
-
At the command prompt, run:
Terminal window cd ~/public_html/plus/install/manual\ installation/database/mysql -u DBUSERNAME -p DBNAME < mysql_new_install.txt -
Replace
DBUSERNAMEandDBNAMEwith the database user and name you created. -
This will create all required tables.
-
-
Remove Installer Files.
-
For security, delete the installer file:
Terminal window rm ~/public_html/plus/install/install.php
-
-
Access phpMyChat.
-
In your browser, go to
http://example.com/plus. -
The login page will appear.
-
Default administrator credentials:
- Username:
admin - Password:
admin
- Username:
-
Log in and configure phpMyChat using the web interface.
-