Hi,
I now tried turck cache 2.3.16CVS as sourceforge's
CVS offers a more actual version.
(tried with MMCache 2.3.16-CVS [shm:sysvipc
sem:spinlock], PHP 4.3.1 [ZE 1.3.0], Apache [Apache],
Linux server 2.4.20)
base64_encode+decode / gzip work as php-function.
When I try to cache a php-page, e.g.:
<?
mmcache_cache_page('test', 30);
echo time();
?>
error.log produces this error:
MMCACHE: PHP crashed
[Wed Jun 18 19:13:14 2003] [notice] child pid 2100 exit
signal Segmentation faul
t (11)
[Wed Jun 18 19:13:15 2003] [notice] child pid 2101 exit
signal Segmentation faul
t (11)
And I get no answer from the server (typical for
segfault).
BUT: After this happened I am also unable to access
mmcache.php or other php-pages anymore!
No error.log entrties! Apache simply freezes! I have
never seen that.
How can I help you to locate the error?
Thank you for your support!
Logged In: NO
Hint:
<?
mmcache_cache_output('test', 'echo time();', 30);
mmcache_get('test');
?>
prints the current seconds since xxxx 1970 without
crashing the server!
Logged In: YES
user_id=124551
Now the bug is fixed. It was a PHP 4.3.1 specific BUG. The
fixed version is available in sourceforge CVS and will be
available in 2.3.17 release