#43593 [Opn->Fbk]: Impossible to disable Zend Memory Manager in anything other than CLI SAPI
| From: | sniper@php.net | Date: | Fri, 14 Dec 2007 08:43:15 +0000 |
| Subject: | #43593 [Opn->Fbk]: Impossible to disable Zend Memory Manager in anything other than CLI SAPI | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-120640@lists.php.net to get a copy of this message | ||
ID: 43593
Updated by: sniper@php.net
Reported By: phajdan dot jr at gmail dot com
-Status: Open
+Status: Feedback
Bug Type: PHP options/info functions
Operating System: Linux Gentoo 2007.0
PHP Version: 5.2.5
New Comment:
Please try using this CVS snapshot:
http://snaps.php.net/php5.2-latest.tar.gz
For Windows (zip):
http://snaps.php.net/win32/php5.2-win32-latest.zip
For Windows (installer):
http://snaps.php.net/win32/php5.2-win32-installer-latest.msi
Previous Comments:
------------------------------------------------------------------------
[2007-12-14 07:23:21] phajdan dot jr at gmail dot com
Description:
------------
Okay, so generally the PHP website and docs tell me to use following
methods to disable Zend Memory Manager:
Set env var USE_ZEND_ALLOC=0 (works only for CLI)
Compile PHP with --disable-zend-memory-manager or --enable-malloc-mm
(these options do not get recognized; I know the first one has been
removed, and the second one added - but why doesn't it work?)
How do I test whether it works or not? phpinfo has a position called
"Zend Memory Manager", which can be either enabled or disabled. If I try
to disable it and it still says "enabled" I suppose the method doesn't
work.
Last but not least, why would I want to disable the memory manager? I
get horrible crashes with it, I (and not only I) reported it, the bug
got closed as a dupe, but the "original" bug was also closed with no
feedback etc. And while I believe in fixing the bug itself, it would be
nice to have a workaround.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=43593&edit=1