php.net |  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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: admin at helpmefind dot com
New email:
PHP Version: OS:

 

 [2010-12-24 15:30 UTC] admin at helpmefind dot com
Description:
------------
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.






Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2010-12-30 11:31 UTC] gopalv@php.net
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-2024 The PHP Group
All rights reserved.
Last updated: Mon Jun 03 07:01:33 2024 UTC