* (bug 1113) informing lusers of how to installl math support.
[lhc/web/wiklou.git] / INSTALL
1 ---
2 Installing MediaWiki
3 ---
4
5 Starting with MediaWiki 1.2.0, it's possible to install
6 and configure the wiki "in-place", as long as you have
7 the necessary prerequesites available.
8
9 In 1.3.0 the old command-line installer has been removed.
10 A new command-line installer/upgrader may come soon...
11
12 Required software:
13 * Web server with PHP 4.1.2 or higher (4.3.x is preferred)
14 * A MySQL server. 4.0.x is preferred, but 3.2.x should
15 work as well.
16
17 MediaWiki is developed and tested mainly on Unix/Linux
18 platforms, but should work on Windows as well.
19
20 If your PHP is configured as a CGI plug-in rather than
21 an Apache module you may experience problems, as this
22 configuration is not well tested. safe_mode is also not
23 tested and unlikely to work.
24
25 If you want math support see the instructions in math/README
26
27 Don't forget to check the RELEASE-NOTES file...
28
29 ********************** WARNING **************************
30
31 REMEMBER: ALWAYS BACK UP YOUR DATABASE BEFORE ATTEMPTING
32 TO INSTALL OR UPGRADE!!!
33
34 ********************** WARNING **************************
35
36 ----
37 In-place web install
38 ----
39
40 Decompress the MediaWiki installation archive either on
41 your server, or on your local machine and upload the
42 directory tree. Rename it from "mediawiki-1.x.x" to
43 something nice, like "wiki", since it'll be in your URL.
44
45 To run the install script, you'll need to temporarily make
46 the 'config' subdirectory writable by the web server. The
47 simplest way to do this on a Unix/Linux system is to make
48 it world-writable:
49
50 chmod a+w config
51
52 Hop into your browser and surf into the wiki directory.
53 It'll direct you into the config script. Fill out the form...
54 remember you're probably not on an encrypted connection.
55 Gaaah! :)
56
57 If all goes well, you should soon be told that it's set up
58 your wiki database and written a configuration file. There
59 should now be a 'LocalSettings.php' in the config directory;
60 move it back up to the main wiki directory, and the wiki
61 should now be working.
62
63 Once the wiki is set up, you should remove the config
64 directory, or at least make it not world-writable (though
65 it will refuse to config again if the wiki is set up).
66
67
68 ----
69
70 Don't forget that this is free software under development!
71 Chances are good there's a crucial step that hasn't made it
72 into the documentation. You should probably sign up for the
73 MediaWiki developers' mailing list; you can ask for help (please
74 provide enough information to work with, and preferably be aware
75 of what you're doing!) and keep track of major changes to the
76 software, including performance improvements and security patches.
77
78 http://mail.wikipedia.org/mailman/listinfo/mediawiki-l (site admin support)
79
80 http://mail.wikipedia.org/mailman/listinfo/wikitech-l (development)
81