Manual:Config script

After downloading and extracting MediaWiki on your web server, complete the basic setup by running the configuration script. This script allows you to tell MediaWiki the information it needs in order to get the wiki up and running. The following steps describe how to complete basic setup:

Running the MediaWiki configuration script in the web browser
In the following examples, it is assumed that your website is located at. The physical location on your server depends on your web server software configuration. Adjust the examples as needed.


 * 1) Open a web browser and browse to the website address or path that you configured for MediaWiki in the web server software.

contains all the information needed by MediaWiki to run.
 * 1) You will see the version of MediaWiki which you extracted and a link to "Please set up the wiki first."  Click on the link to begin the configuration script.  For reference (in case you want to go there directly), this is located in MediaWiki's  directory (so using the example above you would go to  ).
 * 2) After selecting the language, the configuration script performs some environmental checks.
 * 3) Follow the instructions on the pages to set up database access and to set further settings.
 * 4) The script will populate the database and write a configuration file.
 * 5) After the configuration script has finished, download the generated configuration file  and place the file in the base directory of your MediaWiki installation.



Your wiki should now be ready to use. Browse to the address that you installed MediaWiki to.

Continue with more advanced configuration on.

Problems and errors

 * Refer to:

Command-line alternative
Alternatively, you can run the command-line installer instead of the configuration script in the web browser: