This patch is not official nor stable version.
Just an work around of few too critical bugs of 2.4.7, and
to find out unknown bugs.
But,I tested on my PC with wordpress / mambo. I could
not find crash or bug within few minutes.
please test with patch and submit as many bug reports
as possible before HOESE's holydays. :-)
I think this will help class's scope problem, inheriting
internal classes, ...
But, if your code has class's member variable name
exactly same as class name, it will fail.
if your code compares class name with get_class() or
__CLASS__ ...(probably in __autoload()). does not support
too.
and i think it will support object iterator things.
and i never test on optimizer on.
INSTALL:
just overwrite mmcache.c on CVS 2.4.7 versino
zend_extension =
"/home/segv/local/lib/php/extensions/no-debug-non-zts-20040412/mmcache.so"
mmcache.shm_size="16"
mmcache.cache_dir="/tmp/mmcache"
mmcache.enable="1"
mmcache.optimizer="0"
mmcache.check_mtime="1"
mmcache.debug="0"
mmcache.filter=""
mmcache.shm_max="0"
mmcache.shm_ttl="0"
mmcache.shm_prune_period="0"
mmcache.shm_only="0"
mmcache.compress="1"
mmcache.compress_level="9"
mmcache.c
Logged In: YES
user_id=300792
Broke my code. I was using 2.4.7 and I recompiled it with
your mmcache.c and after caching the script it failed with a
fata error (Can't access protected property). The funny
thing is each script run the first time but the second time
it gave me the fatal error so that tells me the cache was
breaking it.
Logged In: YES
user_id=1117304
could you explain it more in detail.
used OS, php version, apache version, your mmcache
settings. and, if possible crash reproducible php code.
my tested platform was linux 2.4.20-8, php-5.0.2, apache-
1.3.31.
you can see running on my PC,
http://segv74.homeip.net:8090/
@did you do 'make clean' ?