Bug #68965 [Com]: Opcache could not be used in conjunction with php-fpm chroot

From: Date: Wed, 11 Feb 2015 23:22:48 +0000
Subject: Bug #68965 [Com]: Opcache could not be used in conjunction with php-fpm chroot
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-190597@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=68965&edit=1

 ID:                 68965
 Comment by:         public+php dot net at bastelstu dot be
 Reported by:        exception0x876 at gmail dot com
 Summary:            Opcache could not be used in conjunction with
                     php-fpm chroot
 Status:             Open
 Type:               Bug
 Package:            opcache
 Operating System:   Gentoo Linux
 PHP Version:        5.5.21
 Block user comment: N
 Private report:     N

 New Comment:

This appears to be a duplicate of: https://bugs.php.net/bug.php?id=67141


Previous Comments:
------------------------------------------------------------------------
[2015-01-31 19:59:05] exception0x876 at gmail dot com

Description:
------------
It caches files by its full path so if there are same file paths under different chroots (take
/config.php as an example), it serves incorrect cached file. One of the possible solutions I can
think of is to add some additional info for cached file (like filesize, md5sum, filesystem inode
etc.)

Expected result:
----------------
Correct file served from cache for dirrefent chroots.

Actual result:
--------------
Incorrect file served from cache.


------------------------------------------------------------------------



--
Edit this bug report at https://bugs.php.net/bug.php?id=68965&edit=1


Thread (4 messages)

« previous php.bugs (#190597) next »