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

temp filename does not depend on port #26

Open
uschwarz opened this issue Feb 12, 2020 · 0 comments
Open

temp filename does not depend on port #26

uschwarz opened this issue Feb 12, 2020 · 0 comments
Labels

Comments

@uschwarz
Copy link

If you talk directly to the fastcgi port, url is only the path, /status by default. This means if you run several different php-fpm daemons (for example: multiple version of PHP) on different ports, those all overwrite each others stored data.

To fix, you could probably hash more data (including $o_port) in

my $TempFile = $TempPath.$o_host.'_check_phpfpm_status'.md5_hex($url);
@regilero regilero added the Bug label Feb 17, 2020
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