Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PHP warnings when using memcache session handler #44

Open
pkordylewski opened this issue Nov 11, 2013 · 5 comments
Open

PHP warnings when using memcache session handler #44

pkordylewski opened this issue Nov 11, 2013 · 5 comments
Labels

Comments

@pkordylewski
Copy link

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
Copy link
Member

enygma commented Nov 11, 2013

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
Copy link
Author

I'm glad i could help :-)

@enygma
Copy link
Member

enygma commented Nov 13, 2013

Give this a shot - it should fix the issue: 15a3a87

@pkordylewski
Copy link
Author

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
Copy link
Member

enygma commented Nov 13, 2013

Yeah, right now it would, but I'll get those added in too - thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants