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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
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

Add a Patch

Pull Requests

Add a Pull Request

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-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 18 08:02:42 2024 UTC