new patch is ready

2004-12-04
2013-06-04
  • shin seung woo

    shin seung woo - 2004-12-04

    I committed this week's final version on Frank's CVS.

    I think it is quite stable for testing purpose.
    now, what I need is name of application not compatible with this version, or bug list with small script cause error.

    test appliction is
    1) wordpress
    2) mambo
    3) phpnuke
    4) prado

    you can see running these on my PC.
    http://segv74.homeip.net:8090/

     
    • Xuefer

      Xuefer - 2004-12-04

      running is not just ok
      "stable" is not ok
      we need "strong"

      i experienced hang(dead lock) on lastest cvs version of turck-mmcahce(non-forked version
      with php4
      only happened after 1 or a half day
      site is under heavy load, i guess it's 5+ hits/second

       
    • Adrian Madrid

      Adrian Madrid - 2004-12-05

      Got an error on PHP5 with your mmcache.c:

      mmcache.c: In function `mmcache_compile_file':
      mmcache.c:3537: `F_fp' undeclared (first use in this function)
      mmcache.c:3537: (Each undeclared identifier is reported only once
      mmcache.c:3537: for each function it appears in.)
      mmcache.c:7041:34: warning: no newline at end of file

       
      • shin seung woo

        shin seung woo - 2004-12-05

        I'm sorry. It was just a simple mistake.

        and fixed now.

         
    • David Seidel

      David Seidel - 2004-12-06

      Hi,

      I've tried to compile mmcache, but got some errors:

      /usr/local/src/turck_patched/mmcache.c: In function `zif_mmcache':
      /usr/local/src/turck_patched/mmcache.c:6894: parse error before "hidden"
      /usr/local/src/turck_patched/mmcache.c:6894: floating constant exponent has no digits
      /usr/local/src/turck_patched/mmcache.c:6894: parse error before "hidden"
      /usr/local/src/turck_patched/mmcache.c:6894: floating constant exponent has no digits
      make: *** [mmcache.lo] Error 1

       
      • shin seung woo

        shin seung woo - 2004-12-06

        Hi david.

        I don't know what's wrong with that.

        zif_mmcache is PHP_FUNCTION(mmcache).
        and, it's function handler for php mmcache() function. but, I didn't changed even one line of that function.

        did you tried original CVS-2.4.7 version?
        I think CVS-2.4.7 will have same problem with you.
        did you did properly phpize; ./configure; make ?
        do you use linux, FreeBSD?

        well, I only tested linux box.

        If I can reproduce that error, may be I could fix.
        but, with current information, I don't why.

        I'm really sorry.

         
    • David Seidel

      David Seidel - 2004-12-06

      I've found the problem. There are some unescaped quotes in line 6894.

      I've compiled mmcache and everything works fine !!!

      Thank you!!!

       
      • shin seung woo

        shin seung woo - 2004-12-06

        wow, that's great.

        If you find any crash or bugs, please let me know.

         
    • David Seidel

      David Seidel - 2004-12-06

      ok ... I'm very happy to see mmcache is still alive and runs with php5.

       
    • hunreal

      hunreal - 2004-12-10

      Thanks for your hard working with mmcache.

      Compile mmcache,passed...
      Usage,still have the array +=/-= bug, http://sourceforge.net/tracker/index.php?func=detail&aid=997553&group_id=69426&atid=524487

      I have to disable caching or optimize for running my php programs to fix this bug.

      My box, FreeBSD 5.3R/PHP 5.0.2/MySQL 4.1.7/GCC 3.4.2

      Here is my php compile configure,

      './configure' '--disable-debug' '--enable-inline-optimization' '--with-zlib' '--with-gd' '--enable-gd-native-ttf' '--enable-fastcgi' '--with-freetype-dir=/usr/local' '--with-png-dir=/usr/local' '--with-jpeg-dir=/usr/local' '--enable-zend-multibyte' '--enable-mbregex' '--enable-mbstring=all' '--enable-exif' '--disable-cli' '--without-pear' '--with-iconv=/usr/local' '--with-libxml-dir=/usr/local' '--with-mysqli=/usr/local/mysql/bin/mysql_config'

       
      • shin seung woo

        shin seung woo - 2004-12-10

        I just stopped patching it because I heard that
        there are eAccelerator project successing mmcache, and they will release their work really soon.

        so, I'm just waiting for them.

        thanks for reporting.

         
    • Andrea Trasatti

      Andrea Trasatti - 2004-12-11

      Will you join eAccelerator?

      I don't see any need for this fork if eAccelerator is going to bring new patches and evolutions.

       
      • Xuefer

        Xuefer - 2004-12-12

        i don't see any news or activity about eAccelerator.

         
    • Anthony

      Anthony - 2004-12-16

      There are CVS commits.

      segv74, maybe you could submit your patch to eAccelerator?  With such a branch, I don't think there'd be any issues with the addition of another competent developer to fill out a complete team...

       
    • Degola

      Degola - 2004-12-17

      I've got another problems while compiling the patched mmcache.c:

      /usr/src/webserver/turck-cvs/turck-mmcache/mmcache.c: In function `restore_op_array':
      /usr/src/webserver/turck-cvs/turck-mmcache/mmcache.c:2623: error: `fname_lc' undeclared (first use in this function)
      /usr/src/webserver/turck-cvs/turck-mmcache/mmcache.c:2623: error: (Each undeclared identifier is reported only once
      /usr/src/webserver/turck-cvs/turck-mmcache/mmcache.c:2623: error: for each function it appears in.)
      /usr/src/webserver/turck-cvs/turck-mmcache/mmcache.c:2623: error: `fname_len' undeclared (first use in this function)
      /usr/src/webserver/turck-cvs/turck-mmcache/mmcache.c:2635: error: union has no member named `handler'
      /usr/src/webserver/turck-cvs/turck-mmcache/mmcache.c: In function `restore_class_entry':
      /usr/src/webserver/turck-cvs/turck-mmcache/mmcache.c:2768: warning: initialization makes pointer from integer without a cast
      /usr/src/webserver/turck-cvs/turck-mmcache/mmcache.c: In function `zif_mmcache':
      /usr/src/webserver/turck-cvs/turck-mmcache/mmcache.c:6893: error: parse error before "hidden"
      /usr/src/webserver/turck-cvs/turck-mmcache/mmcache.c:6893: error: parse error before "hidden"

      I downloaded the final sources from the cvs repository like described on http://segv74.homeip.net:8090/. I'm using php 4.3.10 (and don't want to upgrade to php 5).

      Can someone help me to solve the problem?

      Regards,

      Sebastian

       
      • shin seung woo

        shin seung woo - 2004-12-17

        my patch is only for php5 and actually I had mistake for php version 4.

        If you want to use mmcache with php4,  I think
        last released version of mmcache will be best one.
        I think there are no different between 2.4.6 and 2.4.7-CVS in case of php4.

         
        • Degola

          Degola - 2004-12-17

          hm, with php 4.3.9 the version 2.4.6 works great, but 2.4.6 or 2.4.7cvs with php 4.3.10 doesn't work correctly (problems with referencing objects as function/constructor parameter -> no more tests yet)...perhaps i will try at weekend to patch the 2.4.7cvs version to work correctly (if i've got enough time) :-)

           
    • Tamsy

      Tamsy - 2004-12-17

      Hi Sebastian.

      Maybe you should give eAccelerator, the successor to mmcache a try (http://sourceforge.net/projects/eaccelerator/). I have compiled it with php 4.3.10 on a RH7.1 box yesterday without substantial problems and it runs very well and it's quite fast too.

      Regards, Tamsy

       
    • Degola

      Degola - 2004-12-17

      oh, i have already but there are other problems, see my post for it :-)

       
    • shin seung woo

      shin seung woo - 2004-12-17

      I'm sorry.

      I didn't programmed much in php4 and currently I'm using php5 only. so, I didn't know changes about 4.3.9-4.3.10
      If you need help when you're patching, please mail me.

       
      • Degola

        Degola - 2004-12-17

        hm, php5 could be nice, but we've got a big german browser game and php5 is too slow vor the mass of clicks :-).

        My question is, what makes the functions fname_lc/fname_len (i think on fname_lowercase/filename to lowercase letters and fname_len for fname length char length)?

         
        • shin seung woo

          shin seung woo - 2004-12-20

          fname_lc/fname_len problem was my mistake.
          you may download eaccelerator-0.9.1. it dosen't have
          that problem. and my patch is included.
          ( I joined eaccelerator as a developer )

          >>  php 4.3.10 doesn't work correctly (problems with referencing objects as function/constructor parameter -> no more tests yet)
          can you report this bug in eaccelerator's bug report?
          if you didn't patched yet.

          >> hm, php5 could be nice, but we've got a big german browser game and php5 is too slow vor the mass of clicks :-). 
          I heard from my friend that If we compile mmcache properly with intel's ICC, we can get additional 200% speedup.

           

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

Sign up for the SourceForge newsletter:





No, thanks