Bug #60945 [Fbk->NoF]: Cannot set memory size for sysvshm methods

From: Date: Sun, 01 Aug 2021 04:22:08 +0000
Subject: Bug #60945 [Fbk->NoF]: Cannot set memory size for sysvshm methods
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-235512@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:       php-bugs@lists.php.net
 Reported by:      HMWiesinger at gmx dot at
 Summary:          Cannot set memory size for sysvshm methods
-Status:           Feedback
+Status:           No Feedback
 Type:             Bug
 Package:          Semaphore related
 Operating System: Linux
 PHP Version:      5.3.9
 Assigned To:      cmb
 Private report:   N

 New Comment:

No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.


Previous Comments:
------------------------------------------------------------------------
[2021-07-19 11:13:05] cmb@php.net

Is this still an issue with any of the actively supported PHP
versions[1]?

[1] <https://www.php.net/supported-versions.php>

------------------------------------------------------------------------
[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


Thread (3 messages)

« previous php.bugs (#235512) next »