The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Custom configure options for eAccelerator using EasyApache

Discussion in 'EasyApache' started by Get Free, Aug 11, 2009.

  1. Get Free

    Get Free Member

    Joined:
    Apr 26, 2007
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    I need to add custom configure option for eAccelertor, as the same way you can add custom options for PHP in the file all_php5.

    How can I do this?
    There must be a file where eAccelerator's configure options can be edited.
     
  2. Kevinfrom

    Kevinfrom Well-Known Member

    Joined:
    Jan 18, 2008
    Messages:
    47
    Likes Received:
    0
    Trophy Points:
    6
    You can manually install EAccelerator yourself.

    If its installed thru easyapache then just run the following command to uninstall it.

    /scripts/phpextensionmgr uninstall EAccelerator

    Then download the latest version from eaccelerator.net and install it according to your needs.

    download tar.gz file
    tar xvzf eaccelerator-version.tar.gz
    cd eaccelerator
    export PHP_PREFIX="/usr"
    /usr/local/bin/phpize
    ./configure --enable-eaccelerator=shared --with-php-config=$PHP_PREFIX/local/bin/php-config
    make
    make install
     
Loading...

Share This Page