php.net |  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
Have you experienced this issue?
Rate the importance of this bug to you:

 [2014-09-22 12:25 UTC] pc dot bertineau at alterphp dot com
Description:
------------
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 :
apc.shm_size=256M

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

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".



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2016-11-18 20:59 UTC] kalle@php.net
-Status: Open +Status: Wont fix
 [2016-11-18 20:59 UTC] kalle@php.net
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-2020 The PHP Group
All rights reserved.
Last updated: Mon Nov 23 20:01:23 2020 UTC