php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #60945 Cannot set memory size for sysvshm methods
Submitted: 2012-02-01 08:27 UTC Modified: -
From: HMWiesinger at gmx dot at Assigned:
Status: Open Package: Semaphore related
PHP Version: 5.3.9 OS: Linux
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: HMWiesinger at gmx dot at
New email:
PHP Version: OS:

 

 [2012-02-01 08:27 UTC] HMWiesinger at gmx dot at
Description:
------------
Using the sysvshm extension I am not able to define a memory size different from 
the default 10000 bytes.
The second parameter '$memsize' of shm_attach() is ignored (but throws a warning 
about an invalid key).
Setting 'sysvshm.init_mem' to something else than 10000 has no effect as php 
doesn't recognize it as a valid config option. ini_get() on said config option 
returns 'does not exist'.
I even tried changing the hardcoded '10000' value in sysvshm.c to something 
different and recompile php, which didn't have an effect either.


Patches

Add a Patch

Pull Requests

Add a Pull Request

 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Tue Jul 23 22:01:28 2019 UTC