Bug #60945 [Opn->Fbk]: Cannot set memory size for sysvshm methods
| From: | cmb@php.net | Date: | Mon, 19 Jul 2021 11:13:05 +0000 |
| Subject: | Bug #60945 [Opn->Fbk]: Cannot set memory size for sysvshm methods | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-235167@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=60945&edit=1
ID: 60945
Updated by: cmb@php.net
Reported by: HMWiesinger at gmx dot at
Summary: Cannot set memory size for sysvshm methods
-Status: Open
+Status: Feedback
Type: Bug
Package: Semaphore related
Operating System: Linux
PHP Version: 5.3.9
-Assigned To:
+Assigned To: cmb
Block user comment: N
Private report: N
New Comment:
Is this still an issue with any of the actively supported PHP
versions[1]?
[1] <https://www.php.net/supported-versions.php>
Previous Comments:
------------------------------------------------------------------------
[2012-02-01 08:27:08] 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.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=60945&edit=1