Doc #59608 [Opn->Csd]: shm_size in INSTALL readme file should have "M" suffix
| From: | rasmus@php.net | Date: | Tue, 21 Feb 2012 20:03:54 +0000 |
| Subject: | Doc #59608 [Opn->Csd]: shm_size in INSTALL readme file should have "M" suffix | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-7984@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=59608&edit=1
ID: 59608
Updated by: rasmus@php.net
Reported by: FractalizeR at yandex dot ru
Summary: shm_size in INSTALL readme file should have "M"
suffix
-Status: Open
+Status: Closed
Type: Documentation Problem
Package: APC
Operating System: CentOS 5.5
PHP Version: 5.3.5
-Assigned To:
+Assigned To: rasmus
Block user comment: N
Private report: N
New Comment:
This was fixed a while ago.
Previous Comments:
------------------------------------------------------------------------
[2011-02-07 04:22:23] FractalizeR at yandex dot ru
Description:
------------
If the following example is used in APC.ini
Suggested Configuration (in your php.ini file)
----------------------------------------------
extension=apc.so
apc.enabled=1
apc.shm_size=128
apc.ttl=7200
apc.user_ttl=7200
apc.enable_cli=1
You will have a warning on each PHP startup:
Starting php-fpm PHP Warning: PHP Startup: apc.shm_size now uses M/G suffixes, please update your
ini files in Unknown on line 0
. done
You need to change
apc.shm_size=128
to
apc.shm_size=128M
to avoid it.
Reproduce code:
---------------
extension=apc.so
apc.enabled=1
apc.shm_size=128
apc.ttl=7200
apc.user_ttl=7200
apc.enable_cli=1
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=59608&edit=1