riahc4
By:
riahc4

How do I install APC on CentOS 7?

June 1, 2017 161 views
Nginx CentOS

Im looking for a tutorial to install and configure APC on CentOS 7. I see there is one for Ubuntu but not for CentOS.

1 Answer

Hi @riahc4
Do you mean APC as in the PHP module? If yes, then it's been replaced by OPcache, which is many times faster. OPcache is available from 5.6 and activated by default from 7.0

  • The issue is that I am running a old version of a CMS and it used APC. Im not sure if OPcache is compatible.

    • @riahc4

      Then you need to install an old version of PHP, which would be a security issue, so that isn't recommended.
      What's the recommended version of PHP as noted by the CMS release notes?

      But is APC required by the CMS? I would think it's a feature, not a requirement.
      I think there's a module called APCu, which is supported by PHP7+, but I actually don't know if it's a replacement for APC or some other functionality.
      https://php.net/apcu

      By the way, which CMS is it, if you are allowed to tell?

Have another answer? Share your knowledge.