Installing PHP APC

Issue #23 resolved
Raffael Luthiger
created an issue

The current installer does not install any PHP Cache software like e.g. APC. It would make the PHP code (e.g. roundcube) a lot faster if APC or another PHP cache is installed.

I can give more information if needed.

Comments (7)

  1. Raffael Luthiger reporter

    I usually start with this configuration file:

    $ cat /etc/php.d/apc.ini 
    ; Load the extension and enable it
    ; The size of each shared memory segment in MB.
    apc.shm_size = 50M
    ; The number of shared memory segments to allocate for the compiler cache.
    ;apc.shm_segments = 1
    ; We have mmap memory. So we can have only one segment
    ; Prevent files larger than this value from getting cached. Defaults to 1M. 
    apc.max_file_size = 2M
    ; Optimize include_once() and require_once() calls and avoid the expensive system calls used.
    ; While testing it is better to leave it commented out
    ; The number of seconds a cache entry is allowed to idle in a slot in case this cache entry slot is needed by another entry.
    apc.ttl = 3600
    ; enable upload support
    apc.rfc1867 = 1
  2. Log in to comment