Closed lorenzo closed 9 years ago
(CC @dariorussi)
Thanks for reporting this. Feel free to submit a PR if you (or someone else reading this) gets to this before we do.
I have same issue juste doing this part of code:
var_dump(apc_cache_info());
In PHP 5.5.9 :
array(14) { 'nslots' => int(4099) 'ttl' => int(0) 'nhits' => double(0) 'nmisses' => double(0) 'ninserts' => double(0) 'nentries' => int(0) 'nexpunges' => double(0) 'stime' => int(1394664695) 'mem_size' => double(0) 'file_upload_progress' => int(1) 'memory_type' => string(4) "mmap" 'cache_list' => array(0) { } 'deleted_list' => array(0) { } 'slot_distribution' => array(0) { } }
In HipHop VM 2.4.2 (rel)
array(1) { ["start_time"]=> int(1394664704) }
Same problem here (hhvm 3.0.1 on a ubuntu 12.04 based system) - apc.php
monitor is not giving much info (but lots of warnings), showing only three options (apc.enable_cli, apc.enabled and apc.stat all showing 1
) and zero keys.
Serious showstopper indeed... With phpinfo() still producing nil output except "HipHop" (#172, #1038 w/o resolution) it's virtually impossible for me to debug the setup any further.
I am trying to increase apc cache size but apc.php
is not showing size change.
As like @Philzen it's showing only 3 values.
@fredemmott This is fixed e491ce7e.
In Zend PHP, when calling
apc_cache_info
you can expect the result to contain the keycache_list
, which is missing in hhvm as seen in this test case:https://travis-ci.org/cakephp/cakephp/jobs/19096182#L405