From:             
Operating system: Win7 32-bit
PHP version:      5.3.3
Package:          PHAR related
Bug Type:         Bug
Bug description:phar+apc not work

Description:
------------
APC does not cache phar:// stream wrappers.



Full bug package with instruction: 



http://konsys.pl/apc_phar.zip





---



http://pecl.php.net/package/phar

"Phar is APC-compatible, the latest APC will cache files within a phar
archive, resulting in a 6x speedup measured running phpMyAdmin as a phar
archive."

Test script:
---------------
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.

-- 
Edit bug report at http://bugs.php.net/bug.php?id=52781&edit=1
-- 
Try a snapshot (PHP 5.2):            
http://bugs.php.net/fix.php?id=52781&r=trysnapshot52
Try a snapshot (PHP 5.3):            
http://bugs.php.net/fix.php?id=52781&r=trysnapshot53
Try a snapshot (trunk):              
http://bugs.php.net/fix.php?id=52781&r=trysnapshottrunk
Fixed in SVN:                        
http://bugs.php.net/fix.php?id=52781&r=fixed
Fixed in SVN and need be documented: 
http://bugs.php.net/fix.php?id=52781&r=needdocs
Fixed in release:                    
http://bugs.php.net/fix.php?id=52781&r=alreadyfixed
Need backtrace:                      
http://bugs.php.net/fix.php?id=52781&r=needtrace
Need Reproduce Script:               
http://bugs.php.net/fix.php?id=52781&r=needscript
Try newer version:                   
http://bugs.php.net/fix.php?id=52781&r=oldversion
Not developer issue:                 
http://bugs.php.net/fix.php?id=52781&r=support
Expected behavior:                   
http://bugs.php.net/fix.php?id=52781&r=notwrong
Not enough info:                     
http://bugs.php.net/fix.php?id=52781&r=notenoughinfo
Submitted twice:                     
http://bugs.php.net/fix.php?id=52781&r=submittedtwice
register_globals:                    
http://bugs.php.net/fix.php?id=52781&r=globals
PHP 4 support discontinued:          http://bugs.php.net/fix.php?id=52781&r=php4
Daylight Savings:                    http://bugs.php.net/fix.php?id=52781&r=dst
IIS Stability:                       
http://bugs.php.net/fix.php?id=52781&r=isapi
Install GNU Sed:                     
http://bugs.php.net/fix.php?id=52781&r=gnused
Floating point limitations:          
http://bugs.php.net/fix.php?id=52781&r=float
No Zend Extensions:                  
http://bugs.php.net/fix.php?id=52781&r=nozend
MySQL Configuration Error:           
http://bugs.php.net/fix.php?id=52781&r=mysqlcfg

Reply via email to