Results 1 to 3 of 3

Thread: Magento 2 + PHP 7 + Opcache & APCu

  1. #1
    Join Date
    Sep 2014
    Posts
    38

    Magento 2 + PHP 7 + Opcache & APCu

    In the past i've compiled APCu 4.0.6.1 from source and installed it on my server. I am migrating to PHP-FPM 7.x for my new server setup and i was wondering if there is a possibility to install APCu on PHP7. Reason i am asking is because i see conflicting messages; On the one hand i see that APC is dead, on the other hand i see that i have to install a backwards compatibility layer;

    - https://serverpilot.io/docs/how-to-i...apcu-extension
    - https://serverpilot.io/docs/how-to-i...u-bc-extension
    - https://github.com/krakjoe/apcu-bc

    Both opcache & APCu are advised for Magento 2, which is the root cause of my question.

    (note; i am assuming opcache setting in custombuild is compatible with php-fpm on PHP 7, since i am also installing that)
    Last edited by webunity; 11-08-2018 at 02:35 AM.

  2. #2
    Join Date
    Apr 2005
    Location
    GMT +7.00
    Posts
    12,506
    Hello,

    - APCu is only data store
    - OPcache is only opcode cache

    I'd rather use PHP + OPcache + Redis

    https://devdocs.magento.com/guides/v...fig-redis.html

  3. #3
    Join Date
    Sep 2014
    Posts
    38
    Thanx, Redis i do know

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •