Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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.
Comment | File | Size | Author |
---|---|---|---|
apc-unified-bin-prefix-before-variable-7.x-1.x.patch | 500 bytes | melsi |
Comments
Comment #1
R.Muilwijk CreditAttribution: R.Muilwijk commentedIf you add the prefix in your settings.php file it should be available.