php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #72728 apc.shm_size is not an integer
Submitted: 2016-08-01 15:22 UTC Modified: 2016-08-01 16:18 UTC
From: phpnet at cabillot dot eu Assigned: cmb (profile)
Status: Closed Package: APC (PECL)
PHP Version: Irrelevant OS: Irrevelant
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: phpnet at cabillot dot eu
New email:
PHP Version: OS:

 

 [2016-08-01 15:22 UTC] 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


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2016-08-01 15:42 UTC] requinix@php.net
-Status: Open +Status: Verified -Package: Documentation problem +Package: APC
 [2016-08-01 15:42 UTC] 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 16:17 UTC] 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 16:18 UTC] cmb@php.net
-Status: Verified +Status: Closed -Assigned To: +Assigned To: cmb
 [2016-08-01 16:18 UTC] cmb@php.net
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.
 [2020-02-07 06:07 UTC] phpdocbot@php.net
Automatic comment on behalf of cmb
Revision: http://git.php.net/?p=doc/en.git;a=commit;h=1ca4b8c7529b569121224b9864f3da0f5212d71d
Log: Fix #72728: apc.shm_size is not an integer
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Apr 30 03:01:31 2024 UTC