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

Try socket and tcp by default #17

Closed
Seldaek opened this issue May 31, 2015 · 4 comments
Closed

Try socket and tcp by default #17

Seldaek opened this issue May 31, 2015 · 4 comments
Milestone

Comments

@Seldaek
Copy link

Seldaek commented May 31, 2015

It'd be great if by default cachetool would attempt a connection on 127.0.0.1:9000 (as it does now) but if that fails also attempt /var/run/php5-fpm.sock before giving up.

@gordalina
Copy link
Owner

I like it, great idea! 😄
I'll implement it when i get some time for it.

@damienalexandre
Copy link

It could also then fallback on /var/run/php-fpm.sock or /run/php/php7.0-fpm.sock. There is some really common socket names the guesser could try.

@Seldaek
Copy link
Author

Seldaek commented Jun 2, 2016

Yeah basically glob('/var/run/php*.sock') :) We need someone to implement this though 😉

@gordalina
Copy link
Owner

Landed in 3.0.0

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

No branches or pull requests

3 participants