Установка

If backward compatibility with the applicable parts of APC is required, APCu must be configured with the option --enable-apcu-bc.

Внимание

PHP 7 has a separate module (» apc.so) for backwards compatibility with APC.

In backward compatibility mode, APCu registers the applicable APC functions with backward compatible prototypes.

Where an APC function accepted cache_type, it is simply ignored by the backward compatible version, and omitted from the prototype for the APCu version.

Замечание: On Windows, APCu needs a temp path to exist, and be writable by the web server. It checks the TMP, TEMP and USERPROFILE environment variables in that order and finally tries the WINDOWS directory if none of those are set.

Замечание: For more in-depth, highly technical implementation details, see the »  developer-supplied TECHNOTES file .

APCu sources can be found » here.

Коментарии

Автор:
To load apcu, add `extension=apcu` in file `php.ini`. Location(s) of `php.ini` can be found by hosting a php-file containing

<?php
phpinfo
( );
?>

and request that file it in a browser. That page will also show information about apcu if it is loaded.
2023-01-18 22:47:46
http://php5.kiev.ua/manual/ru/apcu.installation.html

    Поддержать сайт на родительском проекте КГБ