68912662c4e89cdb320c5f91f99cfef7fccf4af6
[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.
23
24 Don't forget to check the RELEASE-NOTES file...
25
26 ********************** WARNING **************************
27
28 REMEMBER: ALWAYS BACK UP YOUR DATABASE BEFORE ATTEMPTING
29 TO INSTALL OR UPGRADE!!!
30
31 ********************** WARNING **************************
32
33 ----
34 In-place web install
35 ----
36
37 Decompress the MediaWiki installation archive either on
38 your server, or on your local machine and upload the
39 directory tree. Rename it from "mediawiki-1.x.x" to
40 something nice, like "wiki", since it'll be in your URL.
41
42 To run the install script, you'll need to temporarily make
43 the 'config' subdirectory writable by the web server. The
44 simplest way to do this on a Unix/Linux system is to make
45 it world-writable:
46
47 chmod a+w config
48
49 Hop into your browser and surf into the wiki directory.
50 It'll direct you into the config script. Fill out the form...
51 remember you're probably not on an encrypted connection.
52 Gaaah! :)
53
54 If all goes well, you should soon be told that it's set up
55 your wiki database and written a configuration file. There
56 should now be a 'LocalSettings.php' in the config directory;
57 move it back up to the main wiki directory, and the wiki
58 should now be working.
59
60 Once the wiki is set up, you should remove the config
61 directory, or at least make it not world-writable (though
62 it will refuse to config again if the wiki is set up).
63
64
65 ----
66
67 Don't forget that this is free software under development!
68 Chances are good there's a crucial step that hasn't made it
69 into the documentation. You should probably sign up for the
70 MediaWiki developers' mailing list; you can ask for help (please
71 provide enough information to work with, and preferably be aware
72 of what you're doing!) and keep track of major changes to the
73 software, including performance improvements and security patches.
74
75 http://mail.wikipedia.org/mailman/listinfo/mediawiki-l (site admin support)
76
77 http://mail.wikipedia.org/mailman/listinfo/wikitech-l (development)
78