> ## 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 PhpWiki

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

This article describes how to install PhpWiki manually.

## Installing PhpWiki

PhpWiki 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 PhpWiki:

1. Download the PhpWiki installation file at [http://sourceforge.net/projects/phpwiki](http://sourceforge.net/projects/phpwiki) to your local computer.

2. Extract the .zip file on your computer.

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

4. Use cPanel to create a MySQL database and database user for PhpWiki. You will need this information during the web configuration process.
   > 📘 Note
   >
   > For information about how to create a MySQL database and user, please see [this article](/docs/managing-mysql-databases).

5. Use phpMyAdmin to import the MySQL initialization file. To do this, follow these steps:

   * [Start phpMyAdmin](/docs/phpmyadmin-and-phppgadmin), and then select the database you created in step 4.

   * Click **Import**.

   * Under **File to Import**, click **Browse**.

   * On your local computer, locate the directory where you extracted the PhpWiki files. Open the *schemas* directory, select the *mysql-initialize.sql* file, and then click **Open**.
     > 🚧 Important
     >
     > Make sure you do not select the *mssql-initialize.sql* file by mistake!

   * Click **Go**. phpMyAdmin imports the data and initializes the database.

6. Use your web browser to go to your web site. The PhpWiki configuration page appears.

7. Under **Part One: Authentication and security settings**, in the **WIKI\_NAME** text box, type the name of your wiki.

8. In the **ADMIN\_USER** text box, type the administrator's username.

9. In the **ADMIN\_PASSWD** text box, type the administrator's password.

10. Under **Part Two: Database Configuration**, in the **DATABASE\_TYPE** list box, select **SQL PEAR**.

11. In the **SQL Type** list box, select MySQL.

12. In the **SQL User** text box, type the name of the database user you created in step 4.

13. In the **SQL Password** text box, type the password for the database user you created in step 4.

14. In the **SQL Database Name** text box, type the name of the database you created in step 4.

15. Scroll to the bottom of the page, and then click **Save config/config.ini**.

16. Copy the entire text in the text box, and then paste it into a new file. Save the file as *config.ini*.

17. Upload the *config.ini* file to the *config* directory on your hosting.com account. For example, if you uploaded PhpWiki to the document root directory, the full path is */home/username/public\_html/config*, where *username* represents your account username.

18. Use your web browser to go to your web site. PhpWiki automatically generates templates, help pages, and other application pages.

19. When the installation process finishes, **Complete** appears at the bottom of the page. Reload your web site, and the PhpWiki main page appears.

## More information

For more information about PhpWiki, please visit [http://phpwiki.sourceforge.net](http://phpwiki.sourceforge.net).
