Cache store [apc] is not defined. #5391

Closed
opened 2026-02-05 10:02:00 +03:00 by OVERLORD · 1 comment
Owner

Originally created by @nekromoff on GitHub (Aug 7, 2025).

Describe the Bug

I have APCu installed, it works fine in other Laravel projects when set as cache in .env config file.

CACHE_DRIVER=apc

It does not work when used with Bookstack.

BookStack v25.07
PHP 8.4.11

~# php -m
[PHP Modules]
apcu

Steps to Reproduce

Edit config, set apcu.

Expected Behaviour

Working cache.

Screenshots or Additional Context

No response

Browser Details

not relevant

Exact BookStack Version

25.07

Originally created by @nekromoff on GitHub (Aug 7, 2025). ### Describe the Bug I have APCu installed, it works fine in other Laravel projects when set as cache in `.env` config file. `CACHE_DRIVER=apc` It does not work when used with Bookstack. BookStack v25.07 PHP 8.4.11 ``` ~# php -m [PHP Modules] apcu ``` ### Steps to Reproduce Edit config, set apcu. ### Expected Behaviour Working cache. ### Screenshots or Additional Context _No response_ ### Browser Details not relevant ### Exact BookStack Version 25.07
OVERLORD added the 🐛 Bug label 2026-02-05 10:02:00 +03:00
Author
Owner

@ssddanbrown commented on GitHub (Aug 7, 2025):

Hi @nekromoff,
We don't assure to support all features of Laravel itself, and we don't support apc as a cache option.

Looking at Laravel itself, looks like the relevant default config for apc cache was removed as of Laravel 11, and there's no mention of apc support, although the underlying Classes seem to remain as of Laravel 12, so not sure if it's considered deprecated or something.

@ssddanbrown commented on GitHub (Aug 7, 2025): Hi @nekromoff, We don't assure to support all features of Laravel itself, and we don't support apc as a cache option. Looking at Laravel itself, looks like the relevant default config for apc cache was removed as of Laravel 11, and there's no mention of apc support, although the underlying Classes seem to remain as of Laravel 12, so not sure if it's considered deprecated or something.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#5391