php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #56847 Can't set apc.max_file_size to less than 1M
Submitted: 2006-02-18 16:05 UTC Modified: 2009-12-12 15:46 UTC
From: mike at technorati dot com Assigned:
Status: Closed Package: APC (PECL)
PHP Version: 4.4.1 OS: Linux
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: mike at technorati dot com
New email:
PHP Version: OS:

 

 [2006-02-18 16:05 UTC] mike at technorati dot com
Description:
------------
I'm trying to set the apc.max_file_size to less than 1M. I've tried 500K, .5M, etc. They don't seem to work. What is the proper syntax?


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-02-18 20:22 UTC] rasmus@php.net
You can't.  There is really no point making a cache of less than a Meg.
 [2006-02-19 03:19 UTC] mike at technorati dot com
hi,

not a cache of less than a meg, but max file size (of files within the cache) of less than a meg each.

for example, "do not cache a file if it is over 300 K."

sorry if I was unclear...
 [2009-11-16 12:33 UTC] quinn at strangecode dot com
+1 This happens to me as well, APC Version 3.1.3p1. I'm trying 
to lower the apc.max_file_size value.
 [2009-11-20 22:04 UTC] shire@php.net
I can't seem to reproduce this, internally it looks like the value is being processed correctly.  Can you give me more details on how you're testing this?
 [2009-12-12 15:46 UTC] shire@php.net
This bug has been fixed in CVS.

In case this was a documentation problem, the fix will show up at the
end of next Sunday (CET) on pecl.php.net.

In case this was a pecl.php.net website problem, the change will show
up on the website in short time.
 
Thank you for the report, and for helping us make PECL better.

I found a case where apc.stat=0 and max_file_size will not be respected. I've fixed this in latest trunk, so please try the latest source and re-open with reproduction details if this bug persists.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Thu Jul 03 19:01:35 2025 UTC