title: PHP + APC: How to cache data up to 128M?
body: <p>I have big data portions to cache in APC (normal file caching is too slow). <code>apc_store</code> function always return <code>false</code> for this amount of data:</p>
  
  <p>I tried to do something like this:</p>
  
  <pre><code>ini_set('apc.max_file_size', '128M');
  die(ini_get('apc.max_file_size'));
  </code></pre>
  
  <p>And the output is <code>1M</code>! It doesn't throw any error, but it simply doesn’t work. All other ini_sets I have (eg. <code>memory_limit</code>) are working well, so it’s not permissions issue.</p>
  
  <p>My APC info is:</p>
  
  <pre><code>Version 3.1.3p1
  MMAP Support Enabled
  MMAP File Mask no value
  Locking type pthread mutex Locks
  Revision $Revision: 286798 $
  Build Date Apr 18 2010 06:56:17
  </code></pre>
  
  <p>and settings are:</p>
  
  <pre><code>apc.cache_by_default On
  apc.canonicalize On
  apc.coredump_unmap Off
  apc.enable_cli Off
  apc.enabled On
  apc.file_md5 Off
  apc.file_update_protection 2
  apc.filters no value
  apc.gc_ttl 3600
  apc.include_once_override Off
  apc.lazy_classes Off
  apc.lazy_functions Off
  apc.max_file_size 1M
  apc.mmap_file_mask no value
  apc.num_files_hint 1000
  apc.preload_path no value
  apc.report_autofilter Off
  apc.rfc1867 Off
  apc.rfc1867_freq 0
  apc.rfc1867_name APC_UPLOAD_PROGRESS
  apc.rfc1867_prefix upload_
  apc.rfc1867_ttl 3600
  apc.shm_segments 1
  apc.shm_size 128
  apc.stat On
  apc.stat_ctime Off
  apc.ttl 0
  apc.use_request_time On
  apc.user_entries_hint 4096
  apc.user_ttl 0
  apc.write_lock On
  </code></pre>
  
  <p>What should I set to allow caching such big data potions?</p>