Manual:Installation requirements/da

Ud over selve softwaren, kræver en standard MediaWiki-installation følgende forudsætninger: Derudover er der forskellige valgfrie nødvendigheder, som er forudsat ved brug af visse avancerede funktioner (se nedenfor).
 * En webserver til at sende de genererede sider til din webbrowser.
 * PHP for at køre softwaren.
 * En database-server for at gemme sider og webstedsdata.

Forudsætningerne kan installeres individuelt eller via Xampp installations-programmet (xampp-versionen indeholder ikke PHP 5.3.1). Husk at læse dokumentationen for hver enkelt komponent, før installation. Hvis dit websted er hostet (dvs. du ikke har direkte kontrol over det), så kontakt server administratorerne eller hostingfirmaet for at sikre, at disse er installeret.

Bemærk, at selvom MediaWiki udgives med installations-script, der leverer web-baseret konfiguration af de vigtigste elementer, er et vist kendskab til PHP nødvendig for mere detaljerede tilpasninger.

= == Simpel enkelt-download installation == =

Brug Xampp [//apachefriends.org apachefriends.org] til at installere og konfigurere alle de vigtigste pakker med én enkelt download. Programpakken fungerer til Linux, Windows med flere (men er p.t. ikke fuldt opdateret til Mac), og omfatter Apache, PHP og MySQL.

= == Webserver == =

For at sende de genererede sider til din browser, kræver MediaWiki noget webserver-software. Ofte har du ikke noget valg mellem hvilken software der skal bruges - det vil være den, der leveres af din webhotel-udbyder.
 * De fleste installationer bruger [//httpd.apache.org Apache] webserver, som findes på [//httpd.apache.org/download.cgi den officielle download side].
 * MediaWiki er også blevet testet under [//microsoft.com/iis IIS 6.0], [//0x50.org/ Cherokee], [//hiawatha-webserver.org/ Hiawatha], [//litespeedtech.com/litespeed-web-server-downloads.html Litespeed Standard] (kræver et trick for math/da) og [//lighttpd.net lighttpd].
 * Sun har nogle [//developers.sun.com/prodtech/webserver/reference/techart/mediawiki.html installationsinstruktioner] til kørsel af MediaWiki på Sun Java System Web Server 7.0.

= == PHP == =

PHP is the programming language in which MediaWiki is written, and is required in order to run the software.


 * For the latest stable version of MediaWiki, PHP version or later is required.
 * If you are unable to upgrade to PHP5, then you can use the old, unsupported, MediaWiki, which requires PHP version 4.3.0 or later
 * The following extensions are required: Perl Compatible Regular Expressions (v4.0+), Session, Standard PHP Library. Note that all of these are enabled in PHP by default.
 * MediaWiki's installer will warn if you don't have the optional PHP intl extension "to handle Unicode normalization". In Debian & Ubuntu, this is in the php5-intl package.
 * On Ubuntu (at least) the php5-mysql package is required if you want MediaWiki to use MySQL.
 * If you are installing MediaWiki on CentOS 5.6, use the php53 package instead of php. The php package contains PHP 5.1.x, which is not compatible with the latest version of MediaWiki.

If you need to compile PHP from source, then see PHP configuration for compilation options that affect MediaWiki.

Notes:
 * Some servers may also require the equivalent database module and session management module be installed. See individual operating system instructions for more information.
 * When installing on Windows using the Microsoft installer, add the extension for your database of choice (MySQL or Postgres) to the features to be installed.

= == Database server == =

MediaWiki stores all the text and data (content pages, user details, system messages, etc.) in a database, which it is capable of sharing with other web-based applications (phpBB, etc.). You will need one of the following database servers to run the latest version of MediaWiki:


 * MySQL or later*
 * PostgreSQL 8.1 or later (supported since MediaWiki 1.8) – also requires plpgsql and tsearch2. These may require a contrib package such as "postgresql-contrib-8.1" to be installed. See Manual:Installing MediaWiki for more detail.
 * SQLite 3
 * Oracle (note: latest MediaWiki version may be not compatible with Oracle. See bug 43533).

Some users find it helpful to install an additional software package such as phpMyAdmin (MySQL) or phpPgAdmin (Postgres) to help administer the database server.

*''Note: MySQL 5 has been required since MediaWiki 1.19. MySQL 4 support has been required since MediaWiki 1.6. (If you are using an ancient version of MySQL and cannot upgrade then you need to use MediaWiki 1.5.8. Note that this version is no longer supported.)''

= == Hardware requirements == =

The recommended minimum requirements are 256MB of RAM for a single-computer website and 80MB of storage, although this will not suffice for a busy public site or a site with uploading enabled. Some users have reported running MediaWiki on computers with as little as 48MB of RAM.

= == Optional dependencies == =


 * ImageMagick or GD is required for image thumbnailing.
 * TeX is required for the in-line display of mathematical formulae.
 * Sendmail is required in order for the system to be able to send e-mails.
 * Shell access is required to run maintenance scripts; upgrading may be more difficult without it.

For further information about the above items, see Manual:Installing third-party tools.

Se også

 * Manual:OS specific help
 * XAMPP
 * BitNami