eAccelerator not working?

Discussion in 'PHP' started by Elfz, Aug 21, 2009.

  1. Elfz

    Elfz New Member

    Nothing seems to be getting stored...

    root@host# php -v
    PHP 5.2.9 with Suhosin-Patch 0.9.7 (cli) (built: Aug 4 2009 13:20:12)
    Copyright (c) 1997-2009 The PHP Group
    Zend Engine v2.2.0, Copyright (c) 1998-2009 Zend Technologies
    with eAccelerator v0.9.5.3, Copyright (c) 2004-2006 eAccelerator, by eAccelerator
    with the ionCube PHP Loader v3.1.34, Copyright (c) 2002-2009, by ionCube Ltd., and
    with Zend Extension Manager v1.2.2, Copyright (c) 2003-2007, by Zend Technologies
    with Suhosin v0.9.27, Copyright (c) 2007, by SektionEins GmbH
    with Zend Optimizer v3.3.3, Copyright (c) 1998-2007, by Zend Technologies


    PHP.INI
    Code:
    zend_extension="/usr/local/lib/php/extensions/no-debug-non-zts-20060613/eaccelerator.so"
    eaccelerator.shm_size="32"
    ;eaccelerator.cache_dir="/dev/shm/eac"
    eaccelerator.cache_dir="/tmp/eaccelerator"
    eaccelerator.enable="1"
    eaccelerator.optimizer="0"
    eaccelerator.check_mtime="1"
    eaccelerator.debug="0"
    eaccelerator.filter=""
    eaccelerator.shm_max="0"
    eaccelerator.shm_ttl="1800"
    eaccelerator.shm_prune_period="300"
    eaccelerator.shm_only="1"
    eaccelerator.compress="1"
    eaccelerator.compress_level="9"
    eaccelerator.keys="shm_only"
    eaccelerator.sessions="shm_only"
    eaccelerator.content="shm_only"
    Code:
    root@host# ls -la /tmp/eaccelerator
    total 155
    drwxrwxrwx 2 root root   1024 Aug 21 01:06 ./
    drwxrwxrwt 6 root root 156672 Aug 21 01:22 ../
  2. mistwang

    mistwang LiteSpeed Staff

    You need to check phpinfo() output see if eaccelerator is enabled and the location of cache_dir.

Share This Page