Introduzione

APCu is an in-memory key-value store for PHP. Keys are of type string and values can be any PHP variables. APCu only supports userland caching of variables.

The APCu cache is per-process on Windows, so when using a process-based (rather than thread-based) SAPI, it will not be shared between different processes.

APCu is APC stripped of opcode caching.

The first APCu codebase was versioned 4.0.0, it was forked from the head of the APC master branch at the time. PHP 7 support is available as of APCu 5.0.0. PHP 8 support is available as of APCu 5.1.19.

add a note add a note

User Contributed Notes 2 notes

up
0
Anonymous
4 years ago
First time "meeting" 'ACPu', I just wondered what it was before having to read the entire documentation...

This may(?) help: - https://www.google.com/search?q=what+is+APCu ;-)
up
-32
vtarasov at ridgepost dot com
8 years ago
Note that there are several cases when APCu cache does not persist and all set values are lost after PHP process exits. E.g. PHP CLI - successive CLI executions of the same script will find APCu cache empty.
To Top