You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please update either memcached.ini or php_memcached.c
memcached.ini says:
; memcached session key prefix
; valid values are strings less than 219 bytes long
; the default value is "memc.sess.key."
memcached.sess_prefix = "memc.sess.key."
The default INI file explicitly sets the value to memc.sess.key but without a config file it's set to memc.sess., ouch. Someone without a config file will notice a change in hardcoded defaults 🎱 if I adjust the code to match the documentation.
While this is not critical it can cause some headache in an environment with multiple PHP versions.
I just encountered this bug (when working with a mix of PHP5 & PHP7), so yeah I can confirm this - while not critical, it definitely caused some confusion.
Please update either memcached.ini or php_memcached.c
memcached.ini says:
while in php_memcached.c there is:
Personally I'd prefer if you updated the latter to:
for compatibility reasons.
While this is not critical it can cause some headache in an environment with multiple PHP versions.
The text was updated successfully, but these errors were encountered: