Skip to content

Commit 58bd8cc

Browse files
committed
session is required
1 parent e206ce9 commit 58bd8cc

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

redis.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -458,6 +458,9 @@ static zend_function_entry redis_functions[] = {
458458
static const zend_module_dep redis_deps[] = {
459459
#ifdef HAVE_REDIS_IGBINARY
460460
ZEND_MOD_REQUIRED("igbinary")
461+
#endif
462+
#ifdef PHP_SESSION
463+
ZEND_MOD_REQUIRED("session")
461464
#endif
462465
ZEND_MOD_END
463466
};

0 commit comments

Comments
 (0)