Make APCu requirements errors precise and explanatory

Created on 27 April 2020, over 4 years ago
Updated 2 September 2023, over 1 year ago

On the status page, I'm seeing:

Errors found:
PHP APCu caching:
Enabled (96 MB)
Memory available: 8.96 MB.

Does this mean that there's only 8.96 MB left of the 96 MB that's enabled (which is too little), or that it's not possible to enable the full 96 MB because only 8.96 MB can be allocated?

If it's the former, there should be a message saying something like this:

Your APCu cache is too small; it needs to be made larger.

Otherwise:

You don't have enough RAM/storage/whatever to enable the full APCu cache you're enabled in your Web server settings.

So:

  1. It's not clear what the error means, and
  2. It's not clear how to fix it.

There's no helpful messaging here whatsoever.

📌 Task
Status

Fixed

Version

10.1 ✨

Component
Base  →

Last updated 16 minutes ago

Created by

🇨🇦Canada colan Toronto 🇨🇦

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024