Manual:Running MediaWiki on ALT Linux

Introduction
This article gives instructions for people who want to run MediaWiki on a ALT Linux system.

Prerequisites: Apache, MySQL and PHP
Versions of packages in ALT Linux branch/4.0 are ok for MediaWiki.

Just do a

apt-get install MySQL-server MySQL-client apt-get install httpd apt-get install apache-mod_php5 php5-dom

ImageMagic and librsvg are also available:

apt-get install ImageMagick librsvg

PHP security configuration
PHP in ALT Linux has quite secure defaults, so change the following settings in /etc/php/ /apache-mod_php/php.ini:


 * safe_mode - turn it off
 * memory_limit - raise to 20M
 * suhosin.executor.func.blacklist, suhosin.executor.eval.blacklist, disable_functions - remove 'system', 'chdir' and 'passthru' from those blacklists.

Installation
After relaxing PHP security settings just use generic installation instructions.