Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 9 of 9
  1. #1
    Member
    Join Date
    Aug 2004
    Posts
    174

    Default eaccelerator

    Hi I am using php 5.2.3 with zend and zend opt is there a way I could install eaccelerator and how? I have tried els but it only breaks my apache config.

    Thanks in advanced.

  2. #2
    Member
    Join Date
    Apr 2007
    Posts
    144

    Default

    hi,

    Download from http://eaccelerator.net/ and install.
    add this settings php.ini. restart apache

    extension="eaccelerator.so"
    eaccelerator.shm_size="32"
    eaccelerator.cache_dir="/tmp/eaccelerator"
    eaccelerator.enable="1"
    eaccelerator.optimizer="1"
    eaccelerator.check_mtime="1"
    eaccelerator.debug="0"
    eaccelerator.filter=""
    eaccelerator.shm_max="128K"
    eaccelerator.shm_ttl="300"
    eaccelerator.shm_prune_period="150"
    eaccelerator.shm_only="0"
    eaccelerator.compress="1"
    eaccelerator.compress_level="9"


    after install test command

    php -v

    PHP 4.4.6 (cli) (built: May 3 2007 19:59:39)
    Copyright (c) 1997-2007 The PHP Group
    Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies
    with eAccelerator v0.9.4, Copyright (c) 2004-2004 eAccelerator, by eAccelerator
    with Zend Extension Manager v1.2.0, Copyright (c) 2003-2007, by Zend Technologies
    with Zend Optimizer v3.2.8, Copyright (c) 1998-2007, by Zend Technologies

  3. #3
    Member
    Join Date
    Mar 2006
    Location
    Brno, Czech Republic
    Posts
    510

    Default

    if you have suexec on, it will not work.
    Not everything that is counted counts and not everything that counts can be counted

  4. #4
    Member
    Join Date
    Aug 2004
    Posts
    174

    Default

    suexec or phpsuexec?

    Thanks

  5. #5
    Member
    Join Date
    Aug 2004
    Posts
    174

    Default

    Well done it installed it and nothing I do not get the eaccelerator extensions I followed the install instructions from:

    http://eaccelerator.net/wiki/InstallFromSource

    and get this result:

    php -v
    PHP 5.2.3 (cli) (built: Jun 14 2007 11:26:44)
    Copyright (c) 1997-2007 The PHP Group
    Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies
    with Zend Extension Manager v1.2.0, Copyright (c) 2003-2007, by Zend Technol
    ogies
    with Zend Optimizer v3.2.8, Copyright (c) 1998-2007, by Zend Technologies

    Also I putted the eaccelerator on /usr/local/lib/php.ini below this:

    [Zend]
    zend_extension_manager.optimizer=/usr/local/Zend/lib/Optimizer-3.2.8
    zend_extension_manager.optimizer_ts=/usr/local/Zend/lib/Optimizer_TS-3.2.8
    zend_optimizer.version=3.2.8

    extension="eaccelerator.so"
    eaccelerator.shm_size="32"
    eaccelerator.cache_dir="/tmp/eaccelerator"
    eaccelerator.enable="1"
    eaccelerator.optimizer="1"
    eaccelerator.check_mtime="1"
    eaccelerator.debug="0"
    eaccelerator.filter=""
    eaccelerator.shm_max="128K"
    eaccelerator.shm_ttl="300"
    eaccelerator.shm_prune_period="150"
    eaccelerator.shm_only="0"
    eaccelerator.compress="1"
    eaccelerator.compress_level="9"

    zend_extension=/usr/local/Zend/lib/ZendExtensionManager.so
    zend_extension_ts=/usr/local/Zend/lib/ZendExtensionManager_TS.so

    Disabled the suexec from whm and restarted httpd from whm.

    And nothing any ideas?

    Thanks in advanced

  6. #6
    Member verdon's Avatar
    Join Date
    Nov 2003
    Location
    Northern Ontario, Canada
    Posts
    792

    Default

    did you restart apache?

  7. #7
    Member
    Join Date
    Mar 2006
    Location
    Brno, Czech Republic
    Posts
    510

    Default

    phpsuexec sorry. that should be disabled. recompile apache, and eaccel will work.

    PHP 4.4.6 (cli) (built: Mar 12 2007 08:50:57)
    Copyright (c) 1997-2007 The PHP Group
    Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies
    with eAccelerator v0.9.5, Copyright (c) 2004-2006 eAccelerator, by eAccelerator
    with Zend Extension Manager v1.2.0, Copyright (c) 2003-2006, by Zend Technologies
    with Suhosin v0.9.18, Copyright (c) 2002-2006, by Hardened-PHP Project
    with Zend Optimizer v3.2.2, Copyright (c) 1998-2006, by Zend Technologies


    my actual config.
    Not everything that is counted counts and not everything that counts can be counted

  8. #8
    Member
    Join Date
    Jun 2007
    Posts
    11

    Default

    I'm getting this error when I type the: php -v

    Failed loading /usr/lib/php4/eaccelerator.so: /usr/lib/php4/eaccelerator.so: cannot open shared object file: No such file or directory

    Then all the normal stuff:

    PHP 4.4.7 (cli) (built: .......


    I'm a little new to this type of thing, so I probably missed something in the install don't know

    Thanks

  9. #9
    Member
    Join Date
    Jun 2007
    Posts
    11

    Default

    i got this installed now Thanks anyway

Similar Threads & Tags
Similar threads

  1. Really need eAccelerator Stable version, but not this problematic eAccelerator 0.9.6
    By virtualreality in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 05-21-2010, 02:56 PM
  2. eAccelerator 0.9.6
    By Monie in forum Archived Feature Requests
    Replies: 2
    Last Post: 02-09-2010, 07:35 PM
  3. eAccelerator 0.9.6
    By Monie in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 02-09-2010, 07:35 PM
  4. eAccelerator
    By apc1 in forum cPanel and WHM Discussions
    Replies: 19
    Last Post: 08-05-2006, 01:07 PM
  5. eaccelerator?
    By Secret Agent in forum cPanel and WHM Discussions
    Replies: 15
    Last Post: 08-05-2005, 04:37 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube