Welcome to the MediaWiki installation guide which provides instructions on how to manually install and configure MediaWiki on a web server. Note that some users may find MediaWiki software bundles and hosting services with 1-click installation and wiki farms a convenient alternative to manual installation.
The first part of this guide gives general instructions, while the last section contains a list of appendices that give more detailed installation notes for specific system configurations and other less common uses of the software.
If you are already running MediaWiki, see the Upgrade guide.
|Requirements in short|
Summarized installation guide
|Warning about webhost auto-installers|
|Programs provided by webhosts to automatically install applications such as MediaWiki can, and frequently do, mishandle the process, resulting in errors and a failure to install MediaWiki (or another application for that matter). If you encounter this problem, it does not mean that you cannot install MediaWiki; all it means is that you should do it manually. This is very easy and there are benefits to doing this, including more control over where on the server and file path you want to install it, the ability to use a shared database, or the ability to control more features of the wiki during the installation.|
For experienced users, here is the quick version of the installation instructions. Most users will want to go through all the passages.
- Check that your system meets the minimum requirements
- Download MediaWiki (direct link to latest version) and extract the archive to a web-accessible folder on your server.
- Point your browser to the directory where MediaWiki was extracted and follow the link to the setup screen. It should be in the form http://[domain]/[directory]/mw-config/index.php. Replace [directory] with the path to your extracted MediaWiki folder. If installing on a local machine, replace [domain] with [localhost]. A locally installed wiki will need the LocalSettings.php modified from [localhost] to [domain] if you will ever be accessing the wiki from that domain. If installed on a remote server, replace [domain] with your server's domain name (eg: www.myserver.com).
- Follow the on-screen instructions to complete the process.
These instructions are deliberately brief. There is a lot that could go wrong, so if in doubt, you are advised to read the full instructions!
Main installation guide
- Before installation
- Configuring MediaWiki
Alternative to manual installation
Some users may prefer to skip manual installation by using a pre-integrated MediaWiki software appliance or hosting services with 1-click installation and wiki farms.
If you are installing only for development or testing, consider using mediawiki-vagrant. You must have (and enable) hardware virtualization. Many modern computers have this, and you can check in your BIOS.
A wiki family is more than one wiki installed on the same server. To set up multiple wikis on MediaWiki, see Manual:Wiki family.
The following pages give instructions about how to install/configure MediaWiki for other, less common purposes.
The following pages cover some of the more advanced configuration options:
- FAQ: FAQ#Installation and configuration
- IRC (#mediawiki)
- mediawiki-l (Mailing List) is the high-traffic mailing list to ask for support.
- MediaWiki Users (Forum) is a user-to-user MediaWiki support forum (offline)
The following pages give more detailed installation instructions aimed at specific systems. However, by and large Manual:Installing MediaWiki is more up to date, and better written than the per system docs, and as such it is recommended you first consult the main install instructions before looking at a per system installation documents.