|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #62502 apc.stat=0 and apc still tries to stat
Submitted: 2012-07-07 18:51 UTC Modified: 2013-02-18 00:35 UTC
Avg. Score:3.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:1 (100.0%)
From: Assigned:
Status: No Feedback Package: APC (PECL)
PHP Version: 5.4.4 OS: Linux
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2012-07-07 18:51 UTC]
I am trying to filter while including and this doesn't work because the php:// 
filter does not support stat. Tentative patch 

Test script:
include "php://filter/resource=foo.php";

Expected result:
I expect APC to cache this when stat=0.

Actual result:
APC does not cache because url_stat does not exist.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2012-07-08 02:58 UTC] (which has been recently fixed) is very 
closely related.
 [2012-07-19 20:17 UTC]
-Status: Open +Status: Feedback
 [2012-07-19 20:17 UTC]
But your change to have search_paths() return 0 is going to break the 
canonicalize feature. See the fpstat==0 block of code in the 
apc_cache_make_file_key() function in apc_cache.c. Can you come up with a better 
solution for this?
 [2012-08-07 11:37 UTC]
Automatic comment from SVN on behalf of ab
Log: fixed bug where apc requires url_stat to be implemented for userspace stream wrappers in require
related to bug #62502, bug #61398, bug #38779
 [2012-08-07 11:40 UTC]
please check with the current trunk
 [2013-02-18 00:35 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 "Open". Thank you.
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Jun 18 18:01:32 2024 UTC