PHP warnings when using memcache session handler
pkordylewski opened this issue · 5 comments
pkordylewski commented
Hey,
i get the following warnings when using the scan command with a php.ini that has memcache session handlers configured:
$ vendor/bin/iniscan scan --path=php.ini
Warning: fileperms(): Unable to find the wrapper "tcp" - did you forget to enable it when you configured PHP? in /home/patryk/composer/vendor/psecio/iniscan/src/Psecio/Iniscan/Rule/CheckSessionPath.php on line 24
Warning: fileperms(): Unable to find the wrapper "tcp" - did you forget to enable it when you configured PHP? in /home/patryk/composer/vendor/psecio/iniscan/src/Psecio/Iniscan/Rule/CheckSessionPath.php on line 24
Warning: fileperms(): stat failed for tcp://127.0.0.1:11211 in /home/patryk/composer/vendor/psecio/iniscan/src/Psecio/Iniscan/Rule/CheckSessionPath.php on line 24
Cheers,
Patryk
enygma commented
Hmm, interesting...that session "path" check needs an update to test if the session handling is non-filesystem based. Cool - thanks for the note, good catch!
pkordylewski commented
I'm glad i could help :-)
pkordylewski commented
Hey,
thanks, i will try this. Just as a note, there are more save-handlers built-in: sqlite and memcached
Your check should fail for these other handlers?
Cheers,
Patryk
enygma commented
Yeah, right now it would, but I'll get those added in too - thanks!