[php-src] Issue #20673: 8.5 and memcached
| From: | VARGA-Peter | Date: | Tue, 09 Dec 2025 11:47:30 +0000 |
| Subject: | [php-src] Issue #20673: 8.5 and memcached | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-251368@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/20673
Author: 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
```plain
PHP 8.5.0
```
### Operating System
SLES 15 SP7