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

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
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?

Submit an Answer