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.

How do I configure eaccelerator when installed through whm rpm

Discussion in 'Workarounds and Optimization' started by sfraise, Sep 14, 2010.

  1. sfraise

    sfraise Member

    Joined:
    Aug 5, 2010
    Messages:
    20
    Likes Received:
    0
    Trophy Points:
    1
    I installed eaccelerator on my centos machine using a whm easyapache (sorry bout the title, my head was stuck on rpm) and I need to change the cache path to prevent it from filling up my tmp folder. However, the eaccelerator.ini file is in /home/cpeasyapache/src/eaccelerator/eaccelerator-0.9.6.1 and not in the place most tutorials tell you it should be when installed manually, and when I change it to point to the new directory /var/cache/eaccelerator instead of /tmp/eaccelerator nothing happens.

    I also have no eaccelerator values in my php.ini file.

    One other thing I will mention is in my /home/cpeasyapache/src/eaccelerator directory I also have a folder for eaccelerator-9.5.3, I'm using the newer version as it shows 0.9.6.1 in my phpinfo so I'm assuming this older version has nothing to do with anything.

    So...
    How do I change the cache dir path in this thing? :confused:
     
    #1 sfraise, Sep 14, 2010
    Last edited: Sep 14, 2010
  2. GaryT

    GaryT Well-Known Member

    Joined:
    May 19, 2010
    Messages:
    321
    Likes Received:
    3
    Trophy Points:
    16
    Are you sure its enabled ?

    The cache path is set withing the php.ini:

    Scroll ALL the way down, And you should see eAccelerator there:

    EG:

    Change to your linking: Example

    Then you must make and chmod them folder for it to work.
     
    #2 GaryT, Sep 15, 2010
    Last edited: Sep 15, 2010
  3. sfraise

    sfraise Member

    Joined:
    Aug 5, 2010
    Messages:
    20
    Likes Received:
    0
    Trophy Points:
    1
    Yeah I'm sure it's enabled, it shows in my phpinfo and it fills my tmp folder up every few hours.

    There are no eaccelerator values in php.ini at all, that's the problem, and adding them don't seem to do any good. The same goes for the eaccelerator.ini file in the cpeasyapache directory, changes don't actually change anything.

    I've been through all of the tutorials out there and am well aware of how to do this on an eaccelerator installation done manually, but installing through whm easyapache seems to be an entirely different setup and I can't find anything on how to change the default configuration on builds installed this way.
     
  4. GaryT

    GaryT Well-Known Member

    Joined:
    May 19, 2010
    Messages:
    321
    Likes Received:
    3
    Trophy Points:
    16
    I would run the installation again if I was you
     
  5. sfraise

    sfraise Member

    Joined:
    Aug 5, 2010
    Messages:
    20
    Likes Received:
    0
    Trophy Points:
    1
    It would seem I'm going to have to uninstall it through easyapache and reinstall it manually, there is absolutely no info on how to change the default configuration at all when installed through easyapache unless I'm missing something here.
     
  6. cPanelJared

    cPanelJared Technical Analyst
    Staff Member

    Joined:
    Feb 25, 2010
    Messages:
    1,842
    Likes Received:
    18
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    /scripts/phpextensionmgr

    There are no options given for configuring eAccelerator when installing eAccelerator via EasyApache; only the option to install it or not is given. What I wanted to mention is that it is not necessary to run EasyApache to install or uninstall eAccelerator. /scripts/phpextensionmgr will do this for you.

    phpextensionmgr will install and uninstall the following PHP extensions:
    Code:
    # /scripts/phpextensionmgr list
    Available Extensions:
    EAccelerator
    IonCubeLoader
    Zendopt
    SourceGuardian
    PHPSuHosin
    It does this without rebuilding Apache or PHP. It simply compiles the extension and adds (or removes) the needed directives to the php.ini file. This can save considerable time, because an EasyApache build tends to be very resource-intensive.

    Usage information for the script is available with the --help argument:

    Code:
    # /scripts/phpextensionmgr --help
    Invalid action specified
    Usage:
        phpextensionmgr [options] [action] [extension]
    
            Options:
              --help       Help message
              --prefix     Installation prefix for PHP (normally /usr/local or /usr/local/php4)
    
            Actions:
              install      Install or update the extension
              uninstall    Uninstall the extension
              status       Display the installation status of the extension
              list         Show available extensions
    Since you mentioned there being no eAccelerator values in your php.ini file at all, I recommend using /scripts/phpextensionmgr to install it. It will take much less time than running EasyApache, without the risk of disrupting other parts of your Apache or PHP configuration. To install eAccelerator, use this:

    Code:
    # /scripts/phpextensionmgr install EAccelerator
     
  7. sfraise

    sfraise Member

    Joined:
    Aug 5, 2010
    Messages:
    20
    Likes Received:
    0
    Trophy Points:
    1
    Thanks cpaneljared, that's exactly what I was looking for.
    Since I've already installed eaccelerator through easyapache do I need to rebuild without it as an easyapache installation before I install it or can I just install it over the top of the existing installation using the extensionmgr script?

    I went ahead and tried to just install over top of the existing build and it seemed to work ok, but still did not write options to my /etc/php.ini file, in fact at the end of the new install it said skipped install to usr/local/php4 as php.ini doesn't exist. I'm using php 5.3.3 and my php.ini file is at /etc/php.ini so I'm not sure exactly what to do here. Is there a reason eaccelerator is trying to write to /usr/local/php4/php.ini instead of to the correct path? Since I'm running zend would I maybe need to change the configuration somewhere in the zend directory or something?

    I also notice that I now have a new directory in /home/cpeasyapache called phpestensions so I now have a /home/cpeasyapache/phpextensions/eaccelerator as well as a /home/cpeasyapache/src/eaccelerator. There is an eaccelerator.ini file in both directories and still changing either one does no good. I've also tried sticking the eaccelerator options manually into the php.ini file but that doesn't do anything either. Eaccelerator has to be getting it's values from somewhere right? Otherwise it just wouldn't work, but where in the heck are they and how do I change them barring an uninstall and installing manually?

    If eaccelerator is simply pulling it's values on the build in this method is there something I can change somewhere in the build files to change the cache_dir and maybe even the shm size and then simply rebuild it making it pull the new values on the reinstall?

    Here's a copy of the build process in putty:
    checking whether to build static libraries... no

    creating libtool
    appending configuration tag "CXX" to libtool
    configure: creating ./config.status
    config.status: creating config.h
    find . -name \*.gcno -o -name \*.gcda | xargs rm -f
    find . -name \*.lo -o -name \*.o | xargs rm -f
    find . -name \*.la -o -name \*.a | xargs rm -f
    find . -name \*.so | xargs rm -f
    find . -name .libs -a -type d|xargs rm -rf
    rm -f libphp.la modules/* libs/*
    /bin/sh /home/cpeasyapache/phpextensions/eaccelerator/eaccelerator-0.9.6.1/libtool --mode=compile cc -I. -I/home/cpeasyapache/phpextensions/eaccelerator/eaccelerator-0.9.6.1 -DPHP_ATOM_INC -I/home/cpeasyapache/phpextensions/eaccelerator/eaccelerator-0.9.6.1/include -I/home/cpeasyapache/phpextensions/eaccelerator/eaccelerator-0.9.6.1/main -I/home/cpeasyapache/phpextensions/eaccelerator/eaccelerator-0.9.6.1 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /home/cpeasyapache/phpextensions/eaccelerator/eaccelerator-0.9.6.1/eaccelerator.c -o eaccelerator.lo
    mkdir .libs
    cc -I. -I/home/cpeasyapache/phpextensions/eaccelerator/eaccelerator-0.9.6.1 -DPHP_ATOM_INC -I/home/cpeasyapache/phpextensions/eaccelerator/eaccelerator-0.9.6.1/include -I/home/cpeasyapache/phpextensions/eaccelerator/eaccelerator-0.9.6.1/main -I/home/cpeasyapache/phpextensions/eaccelerator/eaccelerator-0.9.6.1 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /home/cpeasyapache/phpextensions/eaccelerator/eaccelerator-0.9.6.1/eaccelerator.c -fPIC -DPIC -o .libs/eaccelerator.o
    /bin/sh /home/cpeasyapache/phpextensions/eaccelerator/eaccelerator-0.9.6.1/libtool --mode=compile cc -I. -I/home/cpeasyapache/phpextensions/eaccelerator/eaccelerator-0.9.6.1 -DPHP_ATOM_INC -I/home/cpeasyapache/phpextensions/eaccelerator/eaccelerator-0.9.6.1/include -I/home/cpeasyapache/phpextensions/eaccelerator/eaccelerator-0.9.6.1/main -I/home/cpeasyapache/phpextensions/eaccelerator/eaccelerator-0.9.6.1 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /home/cpeasyapache/phpextensions/eaccelerator/eaccelerator-0.9.6.1/opcodes.c -o opcodes.lo
    cc -I. -I/home/cpeasyapache/phpextensions/eaccelerator/eaccelerator-0.9.6.1 -DPHP_ATOM_INC -I/home/cpeasyapache/phpextensions/eaccelerator/eaccelerator-0.9.6.1/include -I/home/cpeasyapache/phpextensions/eaccelerator/eaccelerator-0.9.6.1/main -I/home/cpeasyapache/phpextensions/eaccelerator/eaccelerator-0.9.6.1 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /home/cpeasyapache/phpextensions/eaccelerator/eaccelerator-0.9.6.1/opcodes.c -fPIC -DPIC -o .libs/opcodes.o
    /bin/sh /home/cpeasyapache/phpextensions/eaccelerator/eaccelerator-0.9.6.1/libtool --mode=compile cc -I. -I/home/cpeasyapache/phpextensions/eaccelerator/eaccelerator-0.9.6.1 -DPHP_ATOM_INC -I/home/cpeasyapache/phpextensions/eaccelerator/eaccelerator-0.9.6.1/include -I/home/cpeasyapache/phpextensions/eaccelerator/eaccelerator-0.9.6.1/main -I/home/cpeasyapache/phpextensions/eaccelerator/eaccelerator-0.9.6.1 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /home/cpeasyapache/phpextensions/eaccelerator/eaccelerator-0.9.6.1/debug.c -o debug.lo
    cc -I. -I/home/cpeasyapache/phpextensions/eaccelerator/eaccelerator-0.9.6.1 -DPHP_ATOM_INC -I/home/cpeasyapache/phpextensions/eaccelerator/eaccelerator-0.9.6.1/include -I/home/cpeasyapache/phpextensions/eaccelerator/eaccelerator-0.9.6.1/main -I/home/cpeasyapache/phpextensions/eaccelerator/eaccelerator-0.9.6.1 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /home/cpeasyapache/phpextensions/eaccelerator/eaccelerator-0.9.6.1/debug.c -fPIC -DPIC -o .libs/debug.o
    /bin/sh /home/cpeasyapache/phpextensions/eaccelerator/eaccelerator-0.9.6.1/libtool --mode=compile cc -I. -I/home/cpeasyapache/phpextensions/eaccelerator/eaccelerator-0.9.6.1 -DPHP_ATOM_INC -I/home/cpeasyapache/phpextensions/eaccelerator/eaccelerator-0.9.6.1/include -I/home/cpeasyapache/phpextensions/eaccelerator/eaccelerator-0.9.6.1/main -I/home/cpeasyapache/phpextensions/eaccelerator/eaccelerator-0.9.6.1 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /home/cpeasyapache/phpextensions/eaccelerator/eaccelerator-0.9.6.1/ea_restore.c -o ea_restore.lo
    cc -I. -I/home/cpeasyapache/phpextensions/eaccelerator/eaccelerator-0.9.6.1 -DPHP_ATOM_INC -I/home/cpeasyapache/phpextensions/eaccelerator/eaccelerator-0.9.6.1/include -I/home/cpeasyapache/phpextensions/eaccelerator/eaccelerator-0.9.6.1/main -I/home/cpeasyapache/phpextensions/eaccelerator/eaccelerator-0.9.6.1 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /home/cpeasyapache/phpextensions/eaccelerator/eaccelerator-0.9.6.1/ea_restore.c -fPIC -DPIC -o .libs/ea_restore.o
    /bin/sh /home/cpeasyapache/phpextensions/eaccelerator/eaccelerator-0.9.6.1/libtool --mode=compile cc -I. -I/home/cpeasyapache/phpextensions/eaccelerator/eaccelerator-0.9.6.1 -DPHP_ATOM_INC -I/home/cpeasyapache/phpextensions/eaccelerator/eaccelerator-0.9.6.1/include -I/home/cpeasyapache/phpextensions/eaccelerator/eaccelerator-0.9.6.1/main -I/home/cpeasyapache/phpextensions/eaccelerator/eaccelerator-0.9.6.1 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /home/cpeasyapache/phpextensions/eaccelerator/eaccelerator-0.9.6.1/ea_store.c -o ea_store.lo
    cc -I. -I/home/cpeasyapache/phpextensions/eaccelerator/eaccelerator-0.9.6.1 -DPHP_ATOM_INC -I/home/cpeasyapache/phpextensions/eaccelerator/eaccelerator-0.9.6.1/include -I/home/cpeasyapache/phpextensions/eaccelerator/eaccelerator-0.9.6.1/main -I/home/cpeasyapache/phpextensions/eaccelerator/eaccelerator-0.9.6.1 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /home/cpeasyapache/phpextensions/eaccelerator/eaccelerator-0.9.6.1/ea_store.c -fPIC -DPIC -o .libs/ea_store.o
    /bin/sh /home/cpeasyapache/phpextensions/eaccelerator/eaccelerator-0.9.6.1/libtool --mode=compile cc -I. -I/home/cpeasyapache/phpextensions/eaccelerator/eaccelerator-0.9.6.1 -DPHP_ATOM_INC -I/home/cpeasyapache/phpextensions/eaccelerator/eaccelerator-0.9.6.1/include -I/home/cpeasyapache/phpextensions/eaccelerator/eaccelerator-0.9.6.1/main -I/home/cpeasyapache/phpextensions/eaccelerator/eaccelerator-0.9.6.1 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /home/cpeasyapache/phpextensions/eaccelerator/eaccelerator-0.9.6.1/ea_info.c -o ea_info.lo
    cc -I. -I/home/cpeasyapache/phpextensions/eaccelerator/eaccelerator-0.9.6.1 -DPHP_ATOM_INC -I/home/cpeasyapache/phpextensions/eaccelerator/eaccelerator-0.9.6.1/include -I/home/cpeasyapache/phpextensions/eaccelerator/eaccelerator-0.9.6.1/main -I/home/cpeasyapache/phpextensions/eaccelerator/eaccelerator-0.9.6.1 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /home/cpeasyapache/phpextensions/eaccelerator/eaccelerator-0.9.6.1/ea_info.c -fPIC -DPIC -o .libs/ea_info.o
    /bin/sh /home/cpeasyapache/phpextensions/eaccelerator/eaccelerator-0.9.6.1/libtool --mode=compile cc -I. -I/home/cpeasyapache/phpextensions/eaccelerator/eaccelerator-0.9.6.1 -DPHP_ATOM_INC -I/home/cpeasyapache/phpextensions/eaccelerator/eaccelerator-0.9.6.1/include -I/home/cpeasyapache/phpextensions/eaccelerator/eaccelerator-0.9.6.1/main -I/home/cpeasyapache/phpextensions/eaccelerator/eaccelerator-0.9.6.1 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /home/cpeasyapache/phpextensions/eaccelerator/eaccelerator-0.9.6.1/ea_dasm.c -o ea_dasm.lo
    cc -I. -I/home/cpeasyapache/phpextensions/eaccelerator/eaccelerator-0.9.6.1 -DPHP_ATOM_INC -I/home/cpeasyapache/phpextensions/eaccelerator/eaccelerator-0.9.6.1/include -I/home/cpeasyapache/phpextensions/eaccelerator/eaccelerator-0.9.6.1/main -I/home/cpeasyapache/phpextensions/eaccelerator/eaccelerator-0.9.6.1 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /home/cpeasyapache/phpextensions/eaccelerator/eaccelerator-0.9.6.1/ea_dasm.c -fPIC -DPIC -o .libs/ea_dasm.o
    /bin/sh /home/cpeasyapache/phpextensions/eaccelerator/eaccelerator-0.9.6.1/libtool --mode=compile cc -I. -I/home/cpeasyapache/phpextensions/eaccelerator/eaccelerator-0.9.6.1 -DPHP_ATOM_INC -I/home/cpeasyapache/phpextensions/eaccelerator/eaccelerator-0.9.6.1/include -I/home/cpeasyapache/phpextensions/eaccelerator/eaccelerator-0.9.6.1/main -I/home/cpeasyapache/phpextensions/eaccelerator/eaccelerator-0.9.6.1 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /home/cpeasyapache/phpextensions/eaccelerator/eaccelerator-0.9.6.1/mm.c -o mm.lo
    cc -I. -I/home/cpeasyapache/phpextensions/eaccelerator/eaccelerator-0.9.6.1 -DPHP_ATOM_INC -I/home/cpeasyapache/phpextensions/eaccelerator/eaccelerator-0.9.6.1/include -I/home/cpeasyapache/phpextensions/eaccelerator/eaccelerator-0.9.6.1/main -I/home/cpeasyapache/phpextensions/eaccelerator/eaccelerator-0.9.6.1 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /home/cpeasyapache/phpextensions/eaccelerator/eaccelerator-0.9.6.1/mm.c -fPIC -DPIC -o .libs/mm.o
    /bin/sh /home/cpeasyapache/phpextensions/eaccelerator/eaccelerator-0.9.6.1/libtool --mode=compile cc -I. -I/home/cpeasyapache/phpextensions/eaccelerator/eaccelerator-0.9.6.1 -DPHP_ATOM_INC -I/home/cpeasyapache/phpextensions/eaccelerator/eaccelerator-0.9.6.1/include -I/home/cpeasyapache/phpextensions/eaccelerator/eaccelerator-0.9.6.1/main -I/home/cpeasyapache/phpextensions/eaccelerator/eaccelerator-0.9.6.1 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /home/cpeasyapache/phpextensions/eaccelerator/eaccelerator-0.9.6.1/optimize.c -o optimize.lo
    cc -I. -I/home/cpeasyapache/phpextensions/eaccelerator/eaccelerator-0.9.6.1 -DPHP_ATOM_INC -I/home/cpeasyapache/phpextensions/eaccelerator/eaccelerator-0.9.6.1/include -I/home/cpeasyapache/phpextensions/eaccelerator/eaccelerator-0.9.6.1/main -I/home/cpeasyapache/phpextensions/eaccelerator/eaccelerator-0.9.6.1 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /home/cpeasyapache/phpextensions/eaccelerator/eaccelerator-0.9.6.1/optimize.c -fPIC -DPIC -o .libs/optimize.o
    /bin/sh /home/cpeasyapache/phpextensions/eaccelerator/eaccelerator-0.9.6.1/libtool --mode=link cc -DPHP_ATOM_INC -I/home/cpeasyapache/phpextensions/eaccelerator/eaccelerator-0.9.6.1/include -I/home/cpeasyapache/phpextensions/eaccelerator/eaccelerator-0.9.6.1/main -I/home/cpeasyapache/phpextensions/eaccelerator/eaccelerator-0.9.6.1 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -o eaccelerator.la -export-dynamic -avoid-version -prefer-pic -module -rpath /home/cpeasyapache/phpextensions/eaccelerator/eaccelerator-0.9.6.1/modules eaccelerator.lo opcodes.lo debug.lo ea_restore.lo ea_store.lo ea_info.lo ea_dasm.lo mm.lo optimize.lo
    cc -shared .libs/eaccelerator.o .libs/opcodes.o .libs/debug.o .libs/ea_restore.o .libs/ea_store.o .libs/ea_info.o .libs/ea_dasm.o .libs/mm.o .libs/optimize.o -Wl,-soname -Wl,eaccelerator.so -o .libs/eaccelerator.so
    creating eaccelerator.la
    (cd .libs && rm -f eaccelerator.la && ln -s ../eaccelerator.la eaccelerator.la)
    /bin/sh /home/cpeasyapache/phpextensions/eaccelerator/eaccelerator-0.9.6.1/libtool --mode=install cp ./eaccelerator.la /home/cpeasyapache/phpextensions/eaccelerator/eaccelerator-0.9.6.1/modules
    cp ./.libs/eaccelerator.so /home/cpeasyapache/phpextensions/eaccelerator/eaccelerator-0.9.6.1/modules/eaccelerator.so
    cp ./.libs/eaccelerator.lai /home/cpeasyapache/phpextensions/eaccelerator/eaccelerator-0.9.6.1/modules/eaccelerator.la
    PATH="$PATH:/sbin" ldconfig -n /home/cpeasyapache/phpextensions/eaccelerator/eaccelerator-0.9.6.1/modules
    ----------------------------------------------------------------------
    Libraries have been installed in:
    /home/cpeasyapache/phpextensions/eaccelerator/eaccelerator-0.9.6.1/modules

    If you ever happen to want to link against installed libraries
    in a given directory, LIBDIR, you must either use libtool, and
    specify the full pathname of the library, or use the `-LLIBDIR'
    flag during linking and do at least one of the following:
    - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
    during execution
    - add LIBDIR to the `LD_RUN_PATH' environment variable
    during linking
    - use the `-Wl,--rpath -Wl,LIBDIR' linker flag
    - have your system administrator add LIBDIR to `/etc/ld.so.conf'

    See any operating system documentation about shared libraries for
    more information, such as the ld(1) and ld.so(8) manual pages.
    ----------------------------------------------------------------------

    Build complete.
    Don't forget to run 'make test'.

    Installing shared extensions: /usr/local/lib/php/extensions/no-debug-non-zts-20090626/
    find . -name \*.gcno -o -name \*.gcda | xargs rm -f
    find . -name \*.lo -o -name \*.o | xargs rm -f
    find . -name \*.la -o -name \*.a | xargs rm -f
    find . -name \*.so | xargs rm -f
    find . -name .libs -a -type d|xargs rm -rf
    rm -f libphp.la modules/* libs/*
    EAccelerator extension activated
    Skipping install to /usr/local/php4, missing php.ini
     
    #7 sfraise, Sep 16, 2010
    Last edited: Sep 16, 2010
  8. cPanelJared

    cPanelJared Technical Analyst
    Staff Member

    Joined:
    Feb 25, 2010
    Messages:
    1,842
    Likes Received:
    18
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    All that phpextensionmgr does is it builds the extension, which does not need to built at the same time as Apache and PHP, and then adds a directive for the extension to the php.ini file.

    You built eAccelerator using EasyApache, and you can remove it using phpextensionmgr. It will simply remove the directive from php.ini. If you want to add it back, it will build it again, and add the directive back to php.ini.
     
  9. sfraise

    sfraise Member

    Joined:
    Aug 5, 2010
    Messages:
    20
    Likes Received:
    0
    Trophy Points:
    1
    I think you're missing the point here, it's not adding anything to php.ini, it never has through easyapache build or through the phpextensionmgr. As I mentioned in the last post it says it tries to do something to php.ini in php4 which I don't use, I use php5, therein lies the problem, do you have any ideas on that?
     
  10. cPanelJared

    cPanelJared Technical Analyst
    Staff Member

    Joined:
    Feb 25, 2010
    Messages:
    1,842
    Likes Received:
    18
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    The message about not adding directives to php4 is normal. This is displayed even when the extension process is completely successful, and is only meant to be informative, not an actual error. It is displayed because you have not built PHP 4.

    From the output you provided, it is not clear why the extension's directives are not being added to PHP 5's php.ini file. At this point, it would really be best if you could submit a ticket, so that we may log in and investigate directly. The output you pasted into this thread does not provide a good indication of what is going wrong.
     
Loading...
Similar Threads - configure eaccelerator installed
  1. kernow
    Replies:
    1
    Views:
    1,313

Share This Page