Skip to content

8.5 and memcached #20673

@VARGA-Peter

Description

@VARGA-Peter

Description

When I try to compile the php memcached master source code for 8.5 using phpize I receive this

/builds/php-memcached-master/php_memcached.c:3790:16: warning: returning ‘int’ from a function with return type ‘zend_class_entry *’ {aka ‘struct _zend_class_entry *’} makes pointer from integer without a cast [-Wint-conversion]
 3790 |         return zend_exception_get_default();
      |                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~

But then Apache fails to load because it complains that zend_exception_get_default can't be found.

I am not quite sure if I do everything correctly. Anyway, what is the best library to use memcached with 8.5?

PHP Version

PHP 8.5.0

Operating System

SLES 15 SP7

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions