Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

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:
    51
    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 Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,214
    Likes Received:
    1,936
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice