Skip to main content

How to enable Caching

Comments

5 comments

  • Jafar Muhammed
    @orrevs, try this. In your WHM, go to Software > Module Installers > Manage PHP Pecl. Then search for memcache. There you will get both memcache and memcached. Click on Install.
    1
  • cPanelMichael
    Hello, You can find installation instructions for Memcached with EasyApache 4 on the following thread: Installing memcache and memcached with EasyApache4 As you mentioned, it's not yet ready for production systems. You can subscribe to it's corresponding feature request to know when it's released: MemcacheD in EasyApache4 Regarding APC, this is a PECL module, and you can install it using "WHM >> Module Installers". Thank you.
    0
  • Jafar Muhammed
    @orrevs, try this. In your WHM, go to Software > Module Installers > Manage PHP Pecl. Then search for memcache. There you will get both memcache and memcached. Click on Install.

    Thank you cPanelMichael, I tried the above steps, and I couldn't get it worked. I thought it is because of either an issue with Magento 2 or because of my PHP version. One more feature added to my watch list now :)
    0
  • babel13
    Hello, You can find installation instructions for Memcached with EasyApache 4 on the following thread: Installing memcache and memcached with EasyApache4 As you mentioned, it's not yet ready for production systems. You can subscribe to it's corresponding feature request to know when it's released: MemcacheD in EasyApache4 Regarding APC, this is a PECL module, and you can install it using "WHM >> Module Installers". Thank you.

    /root/tmp/pear/APC/apc.c:47:43: fatal error: ext/standard/php_smart_str.h: No such file or directory # include "ext/standard/php_smart_str.h" ^ compilation terminated. make: *** [apc.lo] Error 1 ERROR: `make' failed
    0
  • cPanelMichael
    /root/tmp/pear/APC/apc.c:47:43: fatal error: ext/standard/php_smart_str.h: No such file or directory # include "ext/standard/php_smart_str.h" ^ compilation terminated. make: *** [apc.lo] Error 1 ERROR: `make' failed

    Hello, APC from PECL cannot be installed in PHP 7 because it references php_smart_str.h. In PHP 7, this header file was renamed to php_smart_string.h. Have you considered using Memcache/Memcached from the EA4 experimental repo instead? Thank you.
    0

Please sign in to leave a comment.