eaccelerator installation failed

Discussion in 'Linux VPS/Dedicated - General' started by mmxp, Oct 8, 2007.

  1. mmxp

    mmxp New Member

    Since eaccelerator 0.9.5 can work with Zend Optimizer. so I would like to install it on my VPS. I tried everything following the instructions at http://www.eaccelerator.net

    since I have only one php installed, so I did

    phpize
    ./configure
    make
    make install

    eaccelerator.so path is: /usr/local/lib/php/extensions/no-debug-non-zts-20060613

    so I added in php.ini above [zend]

    extension="/usr/local/lib/php/extensions/no-debug-non-zts-20060613/eaccelerator.so"
    eaccelerator.shm_size="16"
    eaccelerator.cache_dir="/tmp/eaccelerator"
    eaccelerator.enable="1"
    eaccelerator.optimizer="1"
    eaccelerator.check_mtime="1"
    eaccelerator.debug="0"
    eaccelerator.filter=""
    eaccelerator.shm_max="0"
    eaccelerator.shm_ttl="0"
    eaccelerator.shm_prune_period="0"
    eaccelerator.shm_only="0"
    eaccelerator.compress="1"
    eaccelerator.compress_level="9"

    and I restarted Apache

    mkdir /tmp/eaccelerator
    chmod 0777 /tmp/eaccelerator


    php -v

    but it turned out that eaccelerator was not working

    Any suggestions?
     
  2. khiltd

    khiltd New Member

    Verify that this path actually exists. cPanel's PHP 5 build spits out something similar for me and it's completely bogus.
     
  3. mmxp

    mmxp New Member

    Yes, I've checked the directories, that's the right path.
    :(
     
  4. stormrider

    stormrider New Member

    Hello,

    Restart Apache and take a look at the error_log ( tail /etc/httpd/logs/error_log ). It might show you something.
     
  5. gsv

    gsv Voice of Reason

    You CANNOT load it that way. It will never work like that.

    Instead:

    Set extension_dir to php.ini to /usr/local/lib/php/extensions/no-debug-non-zts-20060613/

    then load it as

    extension=eaccelerator.so
     
  6. mmxp

    mmxp New Member

    tried it, doesn't work yet :(
     

Share This Page