CodeIgniter Forums
APCu in CI 4.x missing? - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: CodeIgniter 4 (https://forum.codeigniter.com/forumdisplay.php?fid=28)
+--- Forum: CodeIgniter 4 Feature Requests (https://forum.codeigniter.com/forumdisplay.php?fid=29)
+--- Thread: APCu in CI 4.x missing? (/showthread.php?tid=76526)



APCu in CI 4.x missing? - drguiom - 05-20-2020

Hi,

It would seem APCu support was dropped on the way to releasing CI4.

Will it be back?


RE: APCu in CI 4.x missing? - dave friend - 05-20-2020

(05-20-2020, 08:50 AM)drguiom Wrote: Hi,

It would seem APCu support was dropped on the way to releasing CI4.

Will it be back?

Was it implemented in previous versions? I don't recall it at all. APC was a possible cache driver but not APCu.

I don't think support for either will be seen mostly because APC is considered unmaintained and dead.


RE: APCu in CI 4.x missing? - drguiom - 05-20-2020

(05-20-2020, 09:41 AM)dave friend Wrote:
(05-20-2020, 08:50 AM)drguiom Wrote: Hi,

It would seem APCu support was dropped on the way to releasing CI4.

Will it be back?

Was it implemented in previous versions? I don't recall it at all.

Cache_apc was available as a driver in the Cache library in CI3. It worked with APCu also


RE: APCu in CI 4.x missing? - marwin - 07-02-2021

Sorry for beeing a bit off topic - struggling with getting APCu to run with PHP 7.4 and CI 3.1.11. Does anyone have a solution for that?

Nvr mind - found the files on github: https://github.com/bcit-ci/CodeIgniter/blob/develop/system/libraries/Cache/Cache.php

Works perfectly.


RE: APCu in CI 4.x missing? - b126 - 11-11-2022

(05-20-2020, 09:49 AM)drguiom Wrote: Cache_apc was available as a driver in the Cache library in CI3. It worked with APCu also

I confirm APC & APCu was super fast and so easy to use.
Does anyone have a good and not nightmaring alternative for caching Codeigniter 4 properly?


RE: APCu in CI 4.x missing? - InsiteFX - 11-12-2022

NOTE: APC has been discontinued.

Updated: 11/134/2023
APC is not discontinued thanks to @kenji


RE: APCu in CI 4.x missing? - kenjis - 11-12-2022

APCu is not discontinued.
https://packages.debian.org/en/sid/php8.1-apcu


RE: APCu in CI 4.x missing? - b126 - 11-17-2022

(11-12-2022, 12:29 AM)InsiteFX Wrote: NOTE: APC has been discontinued.

Updated: 11/134/2023
APC is not discontinued thanks to @kenji

Just for clarification: APCu is still official and alive, running perfectly with PHP7 and PHP8.

Official replacement for APC (https://www.php.net/manual/fr/book.apcu.php)
Extension available here : https://pecl.php.net/package/APCu

Would be fine if CI4 can support it again.