Updating wikimedia/xmp-reader (0.7.0 => 0.8.0)
[mediawiki.git] / INSTALL
blob4449447f0a5b635f601fe419c16e66065a5bb84b
1 ---
2 Installing MediaWiki
3 ---
5 Starting with MediaWiki 1.2.0, it's possible to install and configure the wiki
6 "in-place", as long as you have the necessary prerequisites available.
8 Required software as of MediaWiki 1.36.0:
10 * Web server with PHP 7.3.19 or higher, plus the following extensions:
11 ** ctype
12 ** dom
13 ** fileinfo
14 ** iconv
15 ** intl
16 ** json
17 ** libxml
18 ** mbstring
19 ** xml
20 ** xmlreader
21 * A SQL server, the following types are supported
22 ** MySQL 5.5.8 or higher
23 ** PostgreSQL 9.4 or higher
24 ** SQLite 3.8.0 or higher
26 MediaWiki is developed and tested mainly on Unix/Linux platforms, but should
27 work on Windows as well.
29 Support for specialised content requires installing the relevant extension. For
30 formulæ, see https://www.mediawiki.org/wiki/Special:MyLanguage/Extension:Math
32 Don't forget to check the RELEASE-NOTES file...
35 Additional documentation is available online, which may include more detailed
36 notes on particular operating systems and workarounds for difficult hosting
37 environments:
39 https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:Installation_guide
42 ******************* WARNING *******************
44 REMEMBER: ALWAYS BACK UP YOUR DATABASE BEFORE
45 ATTEMPTING TO INSTALL OR UPGRADE!!!
47 ******************* WARNING *******************
49 ----
50 In-place web install
51 ----
53 Decompress the MediaWiki installation archive either on your server, or on your
54 local machine and upload the directory tree. Rename it from "mediawiki-1.x.x" to
55 something nice, like "wiki", since it will be appearing in your URL,
56 ie. /wiki/index.php/Article.
58   +--------------------------------------------------------------------------+
59   |  Note: If you plan to use a fancy URL-rewriting scheme to prettify your  |
60   |  URLs, such as http://www.example.com/wiki/Article, you should put the   |
61   |  files in a *different* directory from the virtual path where page names |
62   |  will appear. It is common in this case to use w as the folder name and  |
63   |  /wiki/ as the virtual article path where your articles pretend to be.   |
64   |                                                                          |
65   |  See: https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:Short_URL |
66   +--------------------------------------------------------------------------+
68 Hop into your browser and surf into the wiki directory. It'll direct you into
69 the config script. Fill out the form... remember you're probably not on an
70 encrypted connection.
71 Gaaah! :)
73 If all goes well, you should soon be told that it's set up your wiki database
74 and generated a configuration file. There is now a copy of "LocalSettings.php"
75 available to download from the installer. Download this now, there is not a
76 way (yet) to get it after you exit the installer. Place it in the main wiki
77 directory, and the wiki should now be working.
79 Once the wiki is set up, you should remove the mw-config directory (though it
80 will refuse to config again if the wiki is set up).
82 ----
84 Don't forget that this is free software under development! Chances are good
85 there's a crucial step that hasn't made it into the documentation. You should
86 probably sign up for the MediaWiki developers' mailing list; you can ask for
87 help (please provide enough information to work with, and preferably be aware of
88 what you're doing!) and keep track of major changes to the software, including
89 performance improvements and security patches.
91 https://lists.wikimedia.org/mailman/listinfo/mediawiki-announce (low traffic)
93 https://lists.wikimedia.org/mailman/listinfo/mediawiki-l (site admin support)
95 https://lists.wikimedia.org/mailman/listinfo/wikitech-l (development)