Manual:Running MediaWiki on Windows/it

Questa pagina ti darà informazioni sull'installazione in un sistema Microsoft Windows usando metodi di installazione standard. In ambienti di hosting di solo Windows, per le installazioni manuali, oltre ad Apache, (WAMP stack), era consigliata la raccolta WIMP (che usa IIS), fino alla versione 1.18.

Nginx - una alternativa ad Apache e IIS - può essere utile se usi MediaWiki su altri sistemi operativi di hosting e/o utilizzi già Nginx per l'hosting interno.

Ottenere il software necessario
Benché non sia tanto difficile configurare questi prodotti sotto Windows, può risultare estremamente difficile installare (difficoltà che richiede 30 minuti per WIMP) e configurare Apache+MySQL+PHP singolarmente, se non hai già dimestichezza con apache/mysql/php. In questo caso è vivamente consigliato l'uso di un pacchetto LAMP o WAMP che può essere prontamente installato e utilizzato. Questi ti faranno risparmiare il 99 % dei problemi di configurazione manuale di ogni pacchetto: l'inconveniente è che alcuni di questi pacchetti sono versioni tagliate o modificate (che rendono difficile l'aggiornamento dei singoli componenti), mentre altri sono versioni molto vecchie.

XAMPP
Il più popolare di questi è XAMPP:
 * XAMPP

WebPI
Microsoft Web Platform Installer can install required pre-requisites for you. See blog.

Bitnami

 * Bitnami è una suite gratuita di installatori compatibili con il software open source. It supports an Nginx stack, Microsoft WAMP ), a generic LAMP stack and XAMPP (which it will not install itself and on which only XAMPP-specific bitnami installers work ). Bitnami installs Mediawiki 1.23 on any of those, and they work alongside Wordpress or other software bitnami supports. See Bitnami itself for instructions  and updated support data. This can be a good option if you intend to use only the long term stable supported mediawiki releases. Support for older versions is not guaranteed. See Manual:Running_MediaWiki_on_Windows/bitnami for experiences with this method.

WAMP
Vedi http://www.wampserver.com/en/

WIMP
On Azure:.

Diffutils
Diffutils (which contains diff3) can be downloaded from here, and File (file type checker) from here.

To activate the use of diffutils within MediaWiki, you have to ignore the fact that they won't be found during installation (they may actually be found if you install diff into your path) and open up LocalSettings.php to make the following changes:

becomes

and replace:

with

Please note that you have to replace "C:/Progra..." with the actual location where you installed the tools to.

ImageMagick

 * Note: PHP now comes with GD enabled by default which will work for thumbnailing. GD will not require any configuration or modification to be used. Therefore it's highly recommended to not install ImageMagick, since it is known to be unstable. In fact the $wgImageMagickConvertCommand and Image.php mentioned below does not exist in MW1.15.1. However, in MW 1.23 you have to disable ImageMagick in LocalSettings.php by setting $wgUseImageMagick to false.


 * Note: Settings for XAMPP v1.7.7 VC9 and MediaWiki v1.18.1

The "Q8" ImageMagick releases use 8 bits per channel, while the "Q16" releases use 16 bits per channel. Here is the download page for ImageMagick on Windows. To make image thumbnailing work, you will need to open includes/Image.php, locate the line that starts with, and remove the escapeshellarg function, then do the same to the next line, so that the command variable builds like this:

In addition, check to be sure that the  in localsettings.php points to: (your imagemagick folder path)/convert.exe

Another way to make this work is to add the ImageMagick path to your Windows PATH variable, and simply setting the  in LocalSettings.php as follows (note that you must still modify Image.php as shown above):

Make sure that the Internet Guest Account (Usually IUSR_MACHINENAME) has Read & Execute rights to the ImageMagick bin directory. Without this you might see an PHP shell execution error similar to what happens when it can't find the convert.exe file.

Inkscape
Inkscape can be used as an alternative SVG thumbnailing tool. Here is the download page for Inkscape on Windows. Here are some example settings to enable Inkscape as the SVG thumnailer in the  file:

Mathematics Support
Vedi Texvc.