Doc #72728 [Ver->Csd]: apc.shm_size is not an integer
| From: | cmb@php.net | Date: | Mon, 01 Aug 2016 16:18:09 +0000 |
| Subject: | Doc #72728 [Ver->Csd]: apc.shm_size is not an integer | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-13774@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=72728&edit=1
ID: 72728
Updated by: cmb@php.net
Reported by: phpnet at cabillot dot eu
Summary: apc.shm_size is not an integer
-Status: Verified
+Status: Closed
Type: Documentation Problem
Package: APC
Operating System: Irrevelant
PHP Version: Irrelevant
-Assigned To:
+Assigned To: cmb
Block user comment: N
Private report: N
New Comment:
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.
Thank you for the report, and for helping us make our documentation better.
Previous Comments:
------------------------------------------------------------------------
[2016-08-01 16:17:33] cmb@php.net
Automatic comment from SVN on behalf of cmb
Revision: http://svn.php.net/viewvc/?view=revision&revision=339761
Log: Fix #72728: apc.shm_size is not an integer
------------------------------------------------------------------------
[2016-08-01 15:42:04] requinix@php.net
The change dates back to 2009 (when it was still APC).
http://git.php.net/?p=pecl/caching/apc.git;a=commit;h=93b8810953e340895c5e376a955c5f11ae25e999
No surprise that APC's docs are also incorrect.
http://php.net/manual/en/apc.configuration.php#ini.apc.shm-size
------------------------------------------------------------------------
[2016-08-01 15:22:28] phpnet at cabillot dot eu
Description:
------------
From http://php.net/manual/en/apcu.configuration.php#ini.apcu.shm-size,
apc.shm_size should be an integer.
If you put an integer in your configuration you get :
$ php -d apc.shm_size=1 -v
PHP Warning: PHP Startup: apc.shm_size now uses M/G suffixes, please update your ini files in
Unknown on line 0
[...]
So I think the documentation need an update, apc.shm_size is a string and the suffixes should be
mentioned.
Julien
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=72728&edit=1