|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #59550 Dynamic file stat option
Submitted: 2010-12-24 15:30 UTC Modified: 2010-12-30 11:31 UTC
From: admin at helpmefind dot com Assigned:
Status: Not a bug Package: APC (PECL)
PHP Version: 5_3 SVN-2010-12-24 (dev) OS: Centos
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: admin at helpmefind dot com
New email:
PHP Version: OS:


 [2010-12-24 15:30 UTC] admin at helpmefind dot com
Would it be possible to start/run APC with file stat off but allow one to turn it on using the apc.php control panel preparatory to replacing some software modules.  One could then exercise the appropriate software features to ensure the replaced modules were run, and appropriately cached, and then turn file stat off again.  Thanks for you time.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2010-12-30 11:31 UTC]
APC's lookup hash is different for stat and no-stat modes.

for stat=1 it is (device no + inode no)

for stat=0 it is zend_inline_hash(filename)

if you cache using one, you can't find using the other. 

Just go ahead and use apc_compile_file() instead of this.
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Wed Dec 06 18:01:28 2023 UTC