Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

php 4.3.9, turck-mmcache-2.4.6 errors but run

Help
2004-12-10
2013-06-04
  • Stefan Schorn
    Stefan Schorn
    2004-12-10

    Hallo,

    can you tell me what to do to stop errors in Apache 2.0.51 error_log.

    Failes loading /usr/lib/php4/mmcache.so: /usr/lib/php4/mmcache.so: cannot open shared object file: no such file or directory

    But the engine runs and makes the pages much faster!!

    zend_extension="/prog/php/lib/php/extensions/no-debug-non-zts-20020429/mmcache.so"
    mmcache.shm_size="16"
    mmcache.cache_dir="/tmp/mmcache"
    mmcache.enable="1"
    mmcache.optimizer="1"
    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"

    it only runs as zend_extensions. when i put mmcache.so to /usr/lib/php4/mmcache.so nothing different. also when i change the zend_extensions to
    /usr/lib/php4/mmcache.so nothing different.

    it works, but the borring errors are making a big logfile

    any ideas ??

    Thank you
    Regards Stefan

     
    • Tamsy
      Tamsy
      2004-12-16

      Hi Stefan.

      Edit /etc/ld.so.conf and add the path to the lib-dir of the source directory of turck-mmcache there (in my case '/usr/local/src/turck-mmcache-2.4.6/.libs'). Save and run '/sbin/ldconfig'.
      Now that log entries in Apache's error log should stop when you start/restart Apache.

      Regards, Tamsy