php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #59398 apc+phar wrapper not work
Submitted: 2010-09-06 03:59 UTC Modified: 2016-08-31 15:45 UTC
Votes:6
Avg. Score:4.3 ± 0.9
Reproduced:6 of 6 (100.0%)
Same Version:1 (16.7%)
Same OS:2 (33.3%)
From: bugzilla33 at gmail dot com Assigned: cmb (profile)
Status: Wont fix Package: APC (PECL)
PHP Version: 5.3.2 OS: Win7 32bit, Apache 2.2.16
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2010-09-06 03:59 UTC] bugzilla33 at gmail dot com
Description:
------------
APC does not cache phar:// stream wrappers.

Reproduce code:
---------------
Full bug package with instruction: 

http://konsys.pl/apc_phar.zip

---

step_2.php:

<pre>
<?
 apc_clear_cache();
 require('phar://bin.phar/index.php');
 print_r(apc_cache_info());
?>
</pre>

step_3.php:

<pre>
<?
 apc_clear_cache();
 print('<b>');
 var_dump(apc_compile_file('phar://bin.phar/index.php'));
 print("but cache list empty</b>\r\n");
 print_r(apc_cache_info());
?>
</pre>

Expected result:
----------------
cache_list:

phar://{DOCUMENT_ROOT}bin.phar/index.php

Actual result:
--------------
Empty cache_list.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2010-09-06 04:28 UTC] bugzilla33 at gmail dot com
/summary changing/
 [2016-08-31 15:45 UTC] cmb@php.net
-Status: Open +Status: Wont fix -Assigned To: +Assigned To: cmb
 [2016-08-31 15:45 UTC] cmb@php.net
According to <https://bugs.php.net/69618>, APC support has been
discontinued in favor of OPcache, APCu, the session upload
progress API and WinCache. Therefore this issue won't get fixed.
 
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Fri Feb 26 19:01:24 2021 UTC