how to enable encoder.php

Denny Zhao
  • Denny Zhao

    Denny Zhao - 2004-10-13

    Dear all,
           I have installed the mmcache for my php4 using the list paths:
       cd /tmp
    tar -zxvf turck-mmcache-2.4.6.tar.gz
    cd turck-mmcache-2.4.6
    ./configure --enable-mmcache=shared \
    --with-mmcache-encoder=yes \
    make install

    I can get the following information from the phpinfo():

    This program makes use of the Zend Scripting Language Engine:
    Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies with Turck MMCache v2.4.6, Copyright (c) 2002-2003 TurckSoft, St. Petersburg, by Dmitry Stogov

    But when I using the
    php -q encoder.php
    I always got the following error:
    ERROR: Turck MMCache Encoder is not installed

    My OS is redhat AS 3,php 4 ,Apache 2.
    Can anyone help me to enable encoder.php.


    • Mauro Casciari

      Mauro Casciari - 2004-10-17

      You can't use mmcache in cgi or cli version of php!

      Install the script in web server document root sub directory and access it via http.



Log in to post a comment.