Knowledge Base

How to install PhpWiki manually

This article describes how to install PhpWiki manually.

Installing PhpWiki

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

  1. Download the PhpWiki installation file at 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 A2 Hosting account.
    For information about how to access your account using FTP, please see this article.
  4. Use cPanel to create a MySQL database and database user for PhpWiki. You will need this information during the web configuration process.
    For information about how to create a MySQL database and user, please see this article.
  5. Use phpMyAdmin to import the MySQL initialization file. To do this, follow these steps:
    • Start phpMyAdmin, 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.
      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 A2 Hosting 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.