INSTALL 3.6 KB

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