I run a bigger bleeding-edge-software MediaWiki via SSL on a Raspberry Pi.
And that's not too slow because I use APC.


My quick tip of the day

# add APC (Alternative PHP Cache)
# seehttps://www.mediawiki.org/wiki/Extension:APC

# stop your web server
service apache2 stop

# Install APC 

apt-get install php-apc

# download APC extension (it is a "dashboard for APC" and adds a Special
page)

cd $IP/extensions
git clone https://gerrit.wikimedia.org/r/p/mediawiki/extensions/APC.git


# in LocalSettings.php make sure to have the following lines

## Shared memory settings

$wgMainCacheType    = CACHE_ACCEL;
$wgMemCachedServers = array();

# $wgGroupPermissions['apc']['apc'] = true;
# or simply give the right to an existing trusted group, like bureaucrat:

require_once("$IP/extensions/APC/APC.php");
$wgGroupPermissions['bureaucrat']['apc'] = true;

# and restart your server
service apache2 start


Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Wikitech-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Reply via email to