APC cache_prefix during bootstrap

Created on 19 October 2012, over 12 years ago
Updated 14 July 2024, 10 months ago

When using one apc instance for multiple installations (not multisite instances) the apc cache prefix can still cause problems:
The prefix is used from the variables and they seem not to be available during bootstrap.
Whenever two different installations save their bootstrap functions into apc this causes problems.

As a solution I would propose a simple prefix when the variable cache_prefix is not yet available.
The patch attached uses the installation directory as fallback.

🐛 Bug report
Status

Closed: cannot reproduce

Component

Code

Created by

🇩🇪Germany melsi

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