|  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
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
Solve the problem:
15 + 6 = ?
Subscribe to this entry?

 [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: Thu Dec 07 14:01:28 2023 UTC