Skip to content

phpredis issue and automated tests fails with latest master php #17113

@osevan

Description

@osevan

Description

hi devs,

my auatomated script for testing php module functionality fails with latest master and latest glibc in debian siduction.
dont forget to consider this issue :-) #17112
i hope someone can figure out errors and fix as fast as possible..
Thanks and

Best regards.

my redis server:
ping 10.10.20.56
PING 10.10.20.56 (10.10.20.56) 56(84) bytes of data.
64 bytes from 10.10.20.56: icmp_seq=1 ttl=64 time=0.042 ms
64 bytes from 10.10.20.56: icmp_seq=2 ttl=64 time=0.044 ms
64 bytes from 10.10.20.56: icmp_seq=3 ttl=64 time=0.044 ms
^C
--- 10.10.20.56 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2026ms
rtt min/avg/max/mdev = 0.042/0.043/0.044/0.000 ms
~/compile# cat phpredis.php

<?php

$redis = new Redis();

//Connecting to Redis

$redis->connect('ip 10.10.20.56', 6379);

//$redis->auth('password');

if ($redis->ping()) {
 echo "PONG";
}

?>

:~/compile# /root/compile/php8.4-build/php-8.4.1/sapi/cgi/php-cgi /root/compile/phpredis.php
Status: 500 Internal Server Error
Content-type: text/html; charset=UTF-8

~/compile# time sudo -u redis -H redis-benchmark -h 10.10.20.56 -n 1000000 -t set,get -P 16 -q
SET: 178348.50 requests per second, p50=0.479 msec
GET: 211774.67 requests per second, p50=0.391 msec

real 0m10.345s
user 0m0.006s
sys 0m0.000s

~/compile# /root/compile/php8.4-build/php-8.4.1/sapi/cli/php -m
[PHP Modules]
apcu
bcmath
bz2
calendar
Core
ctype
curl
date
dom
enchant
exif
fileinfo
filter
ftp
gettext
gmp
hash
iconv
intl
json
ldap
libxml
mbstring
mysqli
mysqlnd
openssl
pcntl
pcre
PDO
pdo_mysql
pdo_pgsql
pdo_sqlite
pgsql
Phar
posix
random
readline
redis
Reflection
session
shmop
SimpleXML
soap
sockets
SPL
standard
sysvsem
sysvshm
tidy
tokenizer
xml
xmlreader
xmlwriter
xsl
Zend OPcache
zlib

[Zend Modules]
Zend OPcache
here my redis module outpout:
~/compile# /root/compile/php8.4-build/php-8.4.1/sapi/cli/php -m|grep -P 'apcu|redis'
apcu
redis

PHP Version

master latest

Operating System

debian sid

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions