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

Getting [error] fread failed #2

Open
dave08 opened this issue Aug 6, 2017 · 1 comment
Open

Getting [error] fread failed #2

dave08 opened this issue Aug 6, 2017 · 1 comment

Comments

@dave08
Copy link

dave08 commented Aug 6, 2017

I have a docker image w/ php 5.6 cli running PHPFastCGI Silex 1.~ app, and I keep on getting [error] fread failed. What could this be?

@AndrewCarterUK
Copy link
Member

Hi @dave08

The error is getting thrown here:

https://github.com/PHPFastCGI/FastCGIDaemon/blob/master/src/Driver/Userland/Connection/StreamSocketConnection.php#L65

It means that the daemon is trying to read from the connection and it's not working - i.e. the connection is being unexpectedly closed.

This could be a protocol parsing error or a configuration problem.

Does the app work?

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

2 participants