> ## Documentation Index
> Fetch the complete documentation index at: https://kb.hosting.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Installing phpMyChat

> Learn how to install phpMyChat on your web hosting account. Just follow our step-by-step phpMyChat instructions.

This article describes how to install the phpMyChat application on your hosting.com account.

## Installing phpMyChat

phpMyChat is compatible with all hosting.com accounts. However, you must install it manually.

<Note>
  Although hosting.com servers are compatible with a wide variety of software applications, we cannot provide troubleshooting assistance for application-specific issues.
</Note>

To install phpMyChat:

1. Use cPanel to create a MySQL database and database user for phpMyChat.
   > 📘 Note
   >
   > For information about how to create a MySQL database and user, please see [this article](/docs/managing-mysql-databases).

2. Download the phpMyChat installation file at [http://sourceforge.net/projects/phpmychat](http://sourceforge.net/projects/phpmychat) to your computer.

3. Use FTP to upload the installation file to the **public\_html** directory of your hosting.com account. For information about how to access your account using FTP, please see [this article](/docs/using-ftp-file-transfer-protocol).

4. Log in to your account using SSH. For information about how to access your account using SSH, please see [this article](/docs/using-ssh-secure-shell).

5. Extract the application files. To do this, change to the **public\_html** directory, and then type the following command:

   ```bash theme={null}
   unzip phpMyChat-Plus_1.94-RC3.zip
   ```

   > 📘 Note
   >
   > The exact filename may vary based on the version you downloaded.

6. The files are extracted into the *plus* directory. Open the *plus/config/config.lib.php* file in a text editor, and then edit the following lines:

   * ```
      define("C_DB_NAME", 'cpanel_plus');
     ```

     Replace *cpanel\_plus* with the name of the database you created in step 1.

   * ```
      define("C_DB_USER", 'cpanel_plus');
     ```

     Replace *cpanel\_plus* with the name of the database user you created in step 1.

   * ```
      define("C_DB_PASS", 'plus');
     ```

     Replace *plus* with the database user's password.

7. Save your changes to the *config.lib.php* file and exit the text editor.

8. At the command prompt, type the following commands. Replace *DBUSERNAME* with the name of the database user you created in step 1. Replace *DBNAME* with the name of the database you created in step 1:

   ```bash theme={null}
   cd ~/public_html/plus/install/manual\ installation/database/
   mysql -u DBUSERNAME -p DBNAME < mysql_new_install.txt
   ```

   The previous command populates the database with all of the tables that phpMyChat requires to function correctly.

9. Type the following command:

   ```bash theme={null}
   rm ~/public_html/plus/install/install.php
   ```

   > 📘 Note
   >
   > Removing this file prevents the web installer (which does not work correctly in a shared hosting environment) from starting.

10. Use your web browser to go to *[http://www.example.com/plus](http://www.example.com/plus)*, where *example.com* represents your domain name. The login page appears. The default adminsitrator username is **admin**, and the default administrator password is also **admin**. You can now configure phpMyChat using the web interface.

## More information

For more information about phpMyChat, please visit [http://sourceforge.net/projects/phpmychat](http://sourceforge.net/projects/phpmychat).
