|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #58638 file still accessible, after move
Submitted: 2009-04-21 09:22 UTC Modified: 2009-07-16 21:35 UTC
From: kapcsolat at edgarpe dot hu Assigned:
Status: No Feedback Package: APC (PECL)
PHP Version: 5.1.6 OS: CentOS 4.4
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: kapcsolat at edgarpe dot hu
New email:
PHP Version: OS:


 [2009-04-21 09:22 UTC] kapcsolat at edgarpe dot hu
Moving a file into other directory but with same name and same contents the file runs as if it was in its old place.

apc.stat is ON  !

Reproduce code:
$foo = 'bar';

print $foo; // output: bar

now move dir/b.php to otherdir/b.php

requesting otherdir/b.php still outputs "bar"

After changing the contents of b.php in any way, the problem is solved.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2009-04-21 14:15 UTC]
does setting the INI apc.stat_ctime=1 fix this?
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Tue Sep 27 11:05:53 2022 UTC