|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #68072 Default value for apc
Submitted: 2014-09-22 12:25 UTC Modified: 2016-11-18 20:59 UTC
From: pc dot bertineau at alterphp dot com Assigned:
Status: Wont fix Package: APC (PECL)
PHP Version: Irrelevant OS: Linux at least
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 this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
From: pc dot bertineau at alterphp dot com
New email:
PHP Version: OS:


 [2014-09-22 12:25 UTC] pc dot bertineau at alterphp dot com
As mentionned in the doc, the config parameter for APC shared memory segments size is an integer and should be an integer. It's clearly noticed that the value is meant in MB.

Some distributions of Debian does not handle config if defined as following :

The trailing "M" for megabyte is not understood and the config fallbacks on default. So it needs tobe defined as following :

The matter is that default value in the doc is "32M". In order to avoid some misconfigurations, I think that default value in the doc should be given as "32", without the trailing "M".


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2016-11-18 20:59 UTC]
-Status: Open +Status: Wont fix
 [2016-11-18 20:59 UTC]
APC is no longer supported in favor of opcache that comes bundled with PHP, if you wish to use the user cache, then look at PECL/APCu.
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Wed Nov 29 00:01:26 2023 UTC