You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After I installed the Object Cache Pro plugin on my Pantheon site, following the instructions in https://docs.pantheon.io/object-cache/wordpress, it throws a 500 error in whenever I try to load a page locally from Lando. The logs show:
NOTICE: PHP message: objectcache.critical: Failed to initialize object cache: PhpRedis was not compiled with igbinary support. 'For more information about enabling serializers see: https://objectcache.pro/docs/data-encoding/'
I confirmed that PhpRedis was not compiled with igbinary support by connecting to the running container and running php -a, then:
root@92062ea58818:/app# php -a
Interactive shell
php > use Redis;
Warning: The use statement with non-compound name 'Redis' has no effect in php shell code on line 1
php > echo defined('Redis::SERIALIZER_IGBINARY') ? 'yes' : 'no';
no
When I open the wp-config-ocp.php file added by the Pantheon OCP installer and comment out 'serializer' => 'igbinary', the error message then complains:
NOTICE: PHP message: objectcache.critical: Failed to initialize object cache: PhpRedis was not compiled with Zstandard compression support, see For more information about enabling compressions see: https://objectcache.pro/docs/data-encoding/
Commenting out 'compression' => 'zstd', then allows the page to load.
I was surprised by this, since both libraries were installed:
Since the OCP plugin is officially recommended by Pantheon, and since these libraries are installed anyway, it would be ideal if PhpRedis was installed compiled to use them so it would work without modification.
The text was updated successfully, but these errors were encountered:
After I installed the Object Cache Pro plugin on my Pantheon site, following the instructions in https://docs.pantheon.io/object-cache/wordpress, it throws a 500 error in whenever I try to load a page locally from Lando. The logs show:
I confirmed that PhpRedis was not compiled with igbinary support by connecting to the running container and running
php -a
, then:When I open the
wp-config-ocp.php
file added by the Pantheon OCP installer and comment out'serializer' => 'igbinary',
the error message then complains:Commenting out
'compression' => 'zstd',
then allows the page to load.I was surprised by this, since both libraries were installed:
Since the OCP plugin is officially recommended by Pantheon, and since these libraries are installed anyway, it would be ideal if PhpRedis was installed compiled to use them so it would work without modification.
The text was updated successfully, but these errors were encountered: