From:             phajdan dot jr at gmail dot com
Operating system: Linux Gentoo 2007.0
PHP version:      5.2.5
PHP Bug Type:     PHP options/info functions
Bug description:  Impossible to disable Zend Memory Manager in anything other 
than CLI SAPI

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 bug report at http://bugs.php.net/?id=43593&edit=1
-- 
Try a CVS snapshot (PHP 4.4): 
http://bugs.php.net/fix.php?id=43593&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): 
http://bugs.php.net/fix.php?id=43593&r=trysnapshot52
Try a CVS snapshot (PHP 5.3): 
http://bugs.php.net/fix.php?id=43593&r=trysnapshot53
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=43593&r=trysnapshot60
Fixed in CVS:                 http://bugs.php.net/fix.php?id=43593&r=fixedcvs
Fixed in release:             
http://bugs.php.net/fix.php?id=43593&r=alreadyfixed
Need backtrace:               http://bugs.php.net/fix.php?id=43593&r=needtrace
Need Reproduce Script:        http://bugs.php.net/fix.php?id=43593&r=needscript
Try newer version:            http://bugs.php.net/fix.php?id=43593&r=oldversion
Not developer issue:          http://bugs.php.net/fix.php?id=43593&r=support
Expected behavior:            http://bugs.php.net/fix.php?id=43593&r=notwrong
Not enough info:              
http://bugs.php.net/fix.php?id=43593&r=notenoughinfo
Submitted twice:              
http://bugs.php.net/fix.php?id=43593&r=submittedtwice
register_globals:             http://bugs.php.net/fix.php?id=43593&r=globals
PHP 3 support discontinued:   http://bugs.php.net/fix.php?id=43593&r=php3
Daylight Savings:             http://bugs.php.net/fix.php?id=43593&r=dst
IIS Stability:                http://bugs.php.net/fix.php?id=43593&r=isapi
Install GNU Sed:              http://bugs.php.net/fix.php?id=43593&r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=43593&r=float
No Zend Extensions:           http://bugs.php.net/fix.php?id=43593&r=nozend
MySQL Configuration Error:    http://bugs.php.net/fix.php?id=43593&r=mysqlcfg

Reply via email to