php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #59608 shm_size in INSTALL readme file should have "M" suffix
Submitted: 2011-02-07 04:22 UTC Modified: 2012-02-21 20:03 UTC
Votes:1
Avg. Score:1.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:1 (100.0%)
From: FractalizeR at yandex dot ru Assigned: rasmus (profile)
Status: Closed Package: APC (PECL)
PHP Version: 5.3.5 OS: CentOS 5.5
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 you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: FractalizeR at yandex dot ru
New email:
PHP Version: OS:

 

 [2011-02-07 04:22 UTC] 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


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2012-02-21 20:03 UTC] rasmus@php.net
This was fixed a while ago.
 [2012-02-21 20:03 UTC] rasmus@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: rasmus
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Fri Oct 09 01:00:01 2026 UTC