Skip to content

Commit 96c960d

Browse files
committed
Include php redis extension version in driver stats
1 parent 8e5038f commit 96c960d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/Phpfastcache/Drivers/Redis/Driver.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,9 @@ public function getStats(): DriverStatistic
5757
->setSize((int)$info['used_memory'])
5858
->setInfo(
5959
sprintf(
60-
"The Redis daemon v%s is up since %s.\n For more information see RawData. \n Driver size includes the memory allocation size.",
60+
"The Redis daemon v%s, php-ext v%s, is up since %s.\n For more information see RawData. \n Driver size includes the memory allocation size.",
6161
$info['redis_version'],
62+
\phpversion("redis"),
6263
$date->format(DATE_RFC2822)
6364
)
6465
);

0 commit comments

Comments
 (0)