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
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.
Password:
Status:
Package:
Bug Type:
Summary:
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
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-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 20:01:29 2024 UTC