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.

Installing PHP Pecl "APCu"

Discussion in 'General Discussion' started by xposebrant, Jun 10, 2016.

  1. xposebrant

    xposebrant Registered

    Joined:
    Jun 22, 2011
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    I have installed APCu via
    Code:
    pecl install channel://pecl.php.net/APCu-4.0.10
    Command line said everything was installed....

    Build process completed successfully
    Installing '/usr/local/lib/php/extensions/no-debug-non-zts-20100525/apcu.so'
    Installing '/usr/local/include/php/ext/apcu/apc_lock_api.h'
    Installing '/usr/local/include/php/ext/apcu/apc.h'
    Installing '/usr/local/include/php/ext/apcu/apc_cache_api.h'
    Installing '/usr/local/include/php/ext/apcu/apc_serializer.h'
    Installing '/usr/local/include/php/ext/apcu/apc_pool_api.h'
    Installing '/usr/local/include/php/ext/apcu/apc_bin_api.h'
    Installing '/usr/local/include/php/ext/apcu/apc_sma_api.h'
    Installing '/usr/local/include/php/ext/apcu/apc_api.h'
    install ok: channel://pecl.php.net/apcu-4.0.11
    Extension apcu enabled in php.ini

    However, I am still not able to see apcu installed even after editing my PHP.ini file to include....

    Code:
    extension=/usr/local/lib/php/extensions/no-debug-non-zts-20100525/apcu.so
    [apcu]
    apc.enabled = 1
    apc.shm_size = 128M
    
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,811
    Likes Received:
    671
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello,

    Could you verify if you are using EasyApache 3 or EasyApache 4? Also, please post the output from the following commands:

    Code:
    cat /usr/local/cpanel/version
    pecl list
    Thank you.
     
Loading...

Share This Page