I'm trying to get working the latest cvs version but I have had a problem with a line in mmcache.c
I've had to modify the next line. Now all is working properly:
line 4322 of mmchache.c:
STD_PHP_INI_ENTRY("mmcache.compress_level", "9", PHP_INI_ALL, OnUpdateLong, compress_level, zend_mmcache_globals, mmcache_globals)
STD_PHP_INI_ENTRY("mmcache.compress_level", "9", PHP_INI_ALL, OnUpdateInt, compress_level, zend_mmcache_globals, mmcache_globals)
I've only replaced OnUpdateLong with OnUpdateInt.
Now all works.
Is my fix dangerous?
If I replace OnUpdateLong with mmchache_OnUpdateLong the apache server doesn't start and with no erros in apache or php log.
I ran into the same problem, and your fixed worked. If mmcache is using zlib for compression, 9 is the maximum compression level anyways, isn't it? That wouldn't require a long, an int would be way more than enough there.
Thank you! This bug have been fixed in CVS, please check out the thread "Apache restart segfault & build problems".