INSTALL 3.5 KB

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