Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

how to enable encoder.php

Help
Denny Zhao
2004-10-13
2013-06-04
  • 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
    /usr/php/bin/phpize
    ./configure --enable-mmcache=shared \
    --with-mmcache-encoder=yes \
    --with-php-config=/itone/php4/bin/php-config
    make
    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.

    TKS!

     
    • 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.

      Mauro