Extension:APC
From MediaWiki.org
(Redirected from Extension:Apc)
|
APC Release status: stable |
|||
|---|---|---|---|
| Implementation | Special page | ||
| Description | View and manage APC cache within MediaWiki | ||
| Author(s) | Niklas Laxström (NikerabbitTalk) | ||
| Last version | 2010-04-18 | ||
| License | No license specified | ||
| Download |
Download snapshot (Git master)
Git [?]: repo summary • tree • code changes SVN [?]: checkout-url • tree • code changes CHANGELOG |
||
|
|||
|
Check usage (experimental) |
|||
The APC makes is possible to view and manage APC cache within MediaWiki.
[edit] Requirements
- PHP's APC extension
- GD extension to generate graphs
[edit] Installation
- Download the files from SVN or download a snapshot (select your version of MediaWiki)
- Create the folder $IP/extensions/APC
- Add the files to that folder
- Add to the end of LocalSettings.php (MW 1.17+):
require_once("$IP/extensions/APC/APC.php");
or add to the end of LocalSettings.php (<MW 1.16):require_once("$IP/extensions/APC/ViewAPC.php"); - Installation can now be verified through Special:Version on your wiki
[edit] Permission settings
[[Special:APC]] (Special:ViewAPC in older versions) is unrestricted, but it has some additional functionality that requires the apc right. You can create a new group and assign it this right:
$wgGroupPermissions['apc']['apc'] = true;
or simply give the right to an existing trusted group, like bureaucrat:
$wgGroupPermissions['bureaucrat']['apc'] = true;