APC Cache

  • Description: Caching module for PHP
  • Package: php-apcu
  • Config repo: backups
  • Config path: /etc/php/conf.d/apcu.ini/
  • User and group: http:http
  • Path to web pages: /srv/http/archwomen.org/
  • Upstream docs: APC PHP manual

Configuration and Administration

Add the file /etc/php/conf.d/apcu.ini and give it the following contents:

  extension=apcu.so
  apc.enabled=1
  apc.shm_size=30M

This tells PHP to use APC, enabled it, and sets the shared memory size. More configuration options are available in the documentation.

Restart the web server.

  systemctl restart lighttpd.service

aw-tech/apc.txt · Last modified: 2014/03/12 22:00 by meskarune