php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #79331 Virtual Site APCu bug
Submitted: 2020-03-02 08:27 UTC Modified: 2020-03-15 04:22 UTC
From: kigen_park at hyperdrive dot co dot jp Assigned: cmb (profile)
Status: No Feedback Package: APC (PECL)
PHP Version: Irrelevant OS: centos5.6
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
MUST BE VALID
Solve the problem:
8 + 37 = ?
Subscribe to this entry?

 
 [2020-03-02 08:27 UTC] kigen_park at hyperdrive dot co dot jp
Description:
------------
System requirements: php5.6 / centos5 / APCu Version (4.0.11)

environment:
I set up multiple sites with virtual host and use APCu.

problem:
Apc.mmap_file_mask is different for each site, but somehow the value is shared.

For example:
Virtual Site A:
apc.mmap_file_mask: /tmp/apc.AAAAA

Virtual Site B:
apc.mmap_file_mask: /tmp/apc.BBBBB

Virtual Site C:
apc.mmap_file_mask: /tmp/apc.CCCCC

In the case of, the cache value generated at virtual site A can be confirmed from the APCU management site of virtual site B.

Question:
Why is the cache shared despite different apc.mmap_file_mask values ​​for each site?


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2020-03-02 08:35 UTC] cmb@php.net
-Status: Open +Status: Feedback -Assigned To: +Assigned To: cmb
 [2020-03-02 08:35 UTC] cmb@php.net
You are using ancient versions of PHP and APCu; please try with
current versions.
 [2020-03-15 04:22 UTC] pecl-dev at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 18:02:40 2024 UTC