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!

Questions on PHP Pecl APCu

Discussion in 'EasyApache' started by vlee, Feb 27, 2019.

  1. vlee

    vlee Well-Known Member

    Joined:
    Oct 13, 2005
    Messages:
    368
    Likes Received:
    25
    Trophy Points:
    178
    Location:
    Spokane, Washington
    cPanel Access Level:
    Root Administrator
    I tested out OpCache with APCu and seems to work with no issues.

    But is APCu really needed if run OpCache?

    Or

    Does APCu help and work well OpCache for extra performance caching and speed of a website?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. cPanelLauren

    cPanelLauren Forums Analyst II Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    5,791
    Likes Received:
    442
    Trophy Points:
    233
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    Hi @vlee

    APCu is designed to be used alongside OpCache so yes it does help and work well with it. There's a really good stackoverflow article that describes this here: What is userland caching APCu extension in PHP?

    Thanks!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. vacancy

    vacancy Well-Known Member

    Joined:
    Sep 20, 2012
    Messages:
    258
    Likes Received:
    30
    Trophy Points:
    28
    cPanel Access Level:
    Root Administrator
    When doing the opcache php code cache, the apcu makes object cache.

    Combined use improves performance.

    However, in apcu installation in cpanel environment, php doesn't do any caches although it appears in info. There is no cache entry when I install and check the apc.php file for monitoring. I couldn't figure out why this problem was caused.
     
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