fast-cgi-client icon indicating copy to clipboard operation
fast-cgi-client copied to clipboard

A PHP fast CGI client for sending requests (a)synchronously to PHP-FPM

Results 15 fast-cgi-client issues
Sort by recently updated
recently updated
newest added

This PR should be reviewed per commit. The first one https://github.com/hollodotme/fast-cgi-client/commit/5da4f532d68830d33d3a1f239922de604be94137 installs the [CodeSniffer](https://github.com/squizlabs/PHP_CodeSniffer) package and adds some configuration. The second commit is optional, because it applies the PSR12 codestyle...

Running PHPStan, I noticed a couple of bugs that I missed in the previous PRs for 4.x. Mostly `newWithRequestContent` still being used, and wrong AbstractRequest constructor usage (still passing strings).

## Proposed Changes When accidentally contacting a HTTP server instead of an fcgi server, Socket::readPacket() can turn into an infinite loop. This change implements a rudimentary check that the server...

Sometimes when I kill scripts running fast-cgi-client, I get the below warning logged: ``` stream_select(): Unable to select [4]: Interrupted system call (max_fd=7) ``` This warning is coming from line...

Hi I just ran into this project. I watched the video and read the code examples. It looks interesting, but there has been no work on it for 2 years...