#66 Using the API with Apache 2.0 PHP 4.2.2

open-fixed
nobody
None
5
2003-11-21
2003-11-19
Jonn (JSB)
No

Greetings,

I have just discovered Turck MM Cache via a
recommendation on the php PHPEveryWhere site
(php.weblogs.com). I am testing it out, and loving it.

I have had success with using the API on a box running
apache 1.3.27 with php 4.1.2, but now I am trying it out on a
vanilla RedHat 9 install (apache 2.0.40/php 4.2.2) and am
having trouble.

I have added this line to the top of a phpinfo() page, along
with a time echo:
mmcache_cache_page($_SERVER['PHP_SELF'].'?
GET='.serialize($_GET), 30);

But instead of the expected result, I see this at the top of the
page:
3025/cacheinfo.php?GET=a:0:{}1069240057

The page does not seem to cache as I can immediately
refresh and get a couple more seconds added to the time.

I tried testing with this:
mmcache_cache_page('test', 30);

And got this at the top of the page:
304test1069238295

And still no caching.

Has this issue been encountered before? Am I doing
something wrong? Is there a known fix?

Thanks for the help,
Jonn

Discussion

  • Dmitry Stogov

    Dmitry Stogov - 2003-11-21
    • status: open --> open-fixed
     
  • Dmitry Stogov

    Dmitry Stogov - 2003-11-21

    Logged In: YES
    user_id=124551

    thank you for your report. Now I have founf and fixed the
    BUG. It had effect only in PHP-4.2.*. The fixed version is
    available in sourceforge CVS (content.c; Revision: 1.23).
    Try to get it from CVS or wait for MMCache 2.4.7 or upgrade
    your PHP.

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks