In the event that MediaWiki cannot be installed through a program like Softaculous or Fantastico, the MediaWiki software will need to be installed manually to the server. MediaWiki can be Downloaded from the Mediawiki site at the following link.

MediaWiki 1.20.2 (download)

The Version that will be installed is MediaWiki 1.20.2. Make sure the file that is downloaded is named:

mediawiki-1.20.2.tar.gz

Once you get the archived file of the software, we can begin installing MediaWiki 1.20.2 to your server. This tutorial will explain the steps on how to do this.

Manually Installing MediaWiki

  1. First, Create a subdomain in the cPanel Domains section.
  2. Create a database and database user. Add the database user to the database and save the Username, Password, and Database name in a notepad or other editor to reference it later. This will be needed to set up the Mediawiki program.
  3. Upload the mediawiki-1.20.2.tar.gz file through the cPanel and extract the file to the server, or upload the contents of the mediawiki-1.20.2 folder, that is extracted to your local computer, to the directory for the subdomain using ftp.
  4. install-media-wiki-1Visit the subdomain in your web browser. Initially the MediaWiki 1.20.2 screen should load.

    Click set up the wiki


  5. install-media-wiki-2-mediawikiNext, the MediaWiki 1.20.2 installation screen will load. Select the language for the site and click Continue.
  6. install-media-wiki-3-mediawikiOn the Welcome to MediaWiki page, there may be some warnings on the set up. For example the following error may display:

    Warning: Could not find APC, XCache or WinCache.
    Object caching is not enabled.

    Ignore the warnings. The APC warning is a caching for PHP on the server. Shared servers do not have this. If you are an a VPS or dedicated server, you can have your server set up to run APC. At this point this is not critical.

    As long as the installation says "The environment has been checked. You can install MediaWiki" in Green, you can continue with the installation.

    Click Continue.

  7. install-media-wiki-4-mediawikiNext the page for configuring the database will display. Here is where you will enter the database information that you saved when setting up the database in your cPanel. Enter the database connection settings. For example:

    Database host: localhost
    Database name: cpaneluser_databasename
    Database table Prefix: This can be left blank or set to anything. ( ie. mw_ or wiki_ )
    Database username: cpaneluser_username
    Database password: The password you set when creating the user in cPanel

    Click Continue.


  8. install-media-wiki-5-mediawikiNext, The Database settings page will show. Select InnoDB and Binary.

    If there is any InnoDB issues the site will show the error in the snapshot stating,

    "Warning you selected MyISAM as a storage engine for MySQL, which is not recommended for use with MediaWiki". If this occurs, contact your host to fix InnoDB on your server.


    install-media-wiki-5a-mediwikiInnoDB is recommended by MediWiki. MyISAM is discouraged to to stability problems.

    Binary mode allows mediawiki to use the full range of Unicode characters, whereas UTF-8 mode will only store basic language encoding's. MediaWiki recommends binary mode.

    Click Continue.


  9. install-media-wiki-6-mediwikiThe Name page will load, requiring the basic Wiki admin login and Site name set up. Fill in the fields for the administrator account.

    VERY IMPORTANT! The "Your Name" Field is actually the user name for logging into MediaWiki. It is VERY CRITICAL that the username for the login is correct. After setting up MediaWiki, it is VERY difficult to change the username for the Admin login.

    Select the I'm bored already, just install the wiki radio button and click Continue.


  10. install-media-wiki-7-mediwikiConfirm the installation by clicking Continue.
  11. install-media-wiki-8-mediwikiThe install screen will load next verifying that the files were installed correctly. Click Continue.
  12. install-media-wiki-9-mediwikiWhen the Complete! screen pops up, you will be prompted to save the LocalSettings.php page for uploading to your server. This file is required for the MediaWiki site to function. Save the LocalSettings.php file and upload it to your MediaWiki directory.

    install-media-wiki-10-mediawikiCongratulations, you have installed MediaWiki successfully.

This concludes the tutorial on How to manually install MediaWiki. For more information on Getting Started with MediaWiki, please visit click here.

Like this Article?

Login to comment.

Your Opinion Matters

... but we need to know what you're thinking!

I'm James Richardson, your friendly Community Support technician, and I wrote the article you're looking at now. I like to think it's perfect, but I'm sure you have some suggestions. Please, let me know what they are!

Feedback
Your Email Address
Because we'd like to talk with you!

Latest Questions

If you need some help, submit your question to our Community!
We guarantee a response within 60 minutes (8am - 9pm EST, Monday - Friday)
Ask a Question!
Recent Questions
  1. Connecting email to gmail?
  2. Can I have Oscommerce installed on my site's server?
  3. I'm having trouble publishing with iWeb

Need more Help?

Search

Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail: support@InMotionHosting.com
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!