How to install phpMyChat

This article describes how to install the phpMyChat application on your A2 Hosting account.

Installing phpMyChat

phpMyChat is compatible with all A2 Hosting accounts. However, you must install it manually.

Although A2 Hosting servers are compatible with a wide variety of software applications, we cannot provide troubleshooting assistance for application-specific issues.

To install phpMyChat:

  1. Use cPanel to create a MySQL database and database user for phpMyChat.
    For information about how to create a MySQL database and user, please see this article.
  2. Download the phpMyChat installation file at http://sourceforge.net/projects/phpmychat to your computer.
  3. Use FTP to upload the installation file to the public_html directory of your A2 Hosting account. For information about how to access your account using FTP, please see this article.
  4. Log in to your account using SSH. For information about how to access your account using SSH, please see this article.
  5. Extract the application files. To do this, change to the public_html directory, and then type the following command:
    unzip phpMyChat-Plus_1.94-RC3.zip
    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:

    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:

    rm ~/public_html/plus/install/install.php
    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, where example.com represents your domain name. The login page appears. The default adminstrator 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.

Did you find this article helpful? Then you'll love our support. Experience the A2 Hosting difference today and get a pre-secured, pre-optimized website. Check out our web hosting plans today.

We use cookies to personalize the website for you and to analyze the use of our website. You consent to this by clicking on "I consent" or by continuing your use of this website. Further information about cookies can be found in our Privacy Policy.