Difference between revisions of "MediaWiki"
m |
Thestinger (talk | contribs) (→Installation: php is a mediawiki dependency) |
||
Line 4: | Line 4: | ||
== Installation == | == Installation == | ||
− | # pacman -S apache | + | # pacman -S apache php-apache php-intl imagemagick mysql mediawiki |
Instead imagemagick you can install php-gd. Also instead mysql you can install sqlite3 or postgresql. | Instead imagemagick you can install php-gd. Also instead mysql you can install sqlite3 or postgresql. | ||
Revision as of 00:39, 19 January 2012
Installation
# pacman -S apache php-apache php-intl imagemagick mysql mediawiki
Instead imagemagick you can install php-gd. Also instead mysql you can install sqlite3 or postgresql.
Tips
Mathematics (texvc)
Usually installing texvc package and enabling it in config are enough:
$wgUseTeX = true;
If you get problems, try to increase limits for shell commands:
$wgMaxShellMemory = 8000000; $wgMaxShellFileSize = 1000000; $wgMaxShellTime = 300;
Unicode
Check that php, apache and mysql uses UTF-8. Otherwise you may face strange bugs because of encoding mismatch.