Doc #72728 [Opn->Ver]: apc.shm_size is not an integer

From: Date: Mon, 01 Aug 2016 15:42:07 +0000
Subject: Doc #72728 [Opn->Ver]: apc.shm_size is not an integer
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-13770@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: requinix@php.net Reported by: phpnet at cabillot dot eu Summary: apc.shm_size is not an integer -Status: Open +Status: Verified Type: Documentation Problem -Package: Documentation problem +Package: APC Operating System: Irrevelant PHP Version: Irrelevant Block user comment: N Private report: N New Comment: 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 Previous Comments: ------------------------------------------------------------------------ [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

« previous php.doc.bugs (#13770) next »