Skip to content

Support php 8.1 igbinary session #349

@rapsys

Description

@rapsys

Hi,

Since upgrading to php 8.1, I have a regression with memcache.

Having this config doesn't work anymore :

extension = igbinary.so
session.serialize_handler=igbinary

We get an error :

PHP Warning:  session_start(): Cannot find session serialization handler "igbinary" - session startup failed in /var/www/[...]/vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php on line 149
Uncaught PHP Exception RuntimeException: "Failed to start the session." at /var/www/[...]/vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php line 150\n
PHP Warning:  session_start(): Cannot find session serialization handler "igbinary" - session startup failed in /var/www/[...]/vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php on line 149

Php config :

igbinary
igbinary support => enabled
igbinary version => 3.2.6
igbinary APCu serializer ABI => no
igbinary session support => no
igbinary.compact_strings => On => On
igbinary support => yes
memcached.serializer => igbinary => igbinary

It seems the ibinary sessioon support with php 8.1 is broken.

If someone may provide a patch, that would be nice :)

Best regards

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions