Usage within FPM #35
Labels
bug
Something isn't working
help wanted
Extra attention is needed
new feature
New feature or request
Milestone
I'm using this package in a package of mine, where I need to access the SQLite database within a ReactPHP process, as well as within a standard synchronous request/response lifecycle.
Since I want to reuse the class that holds the database logic, I would like to use this package for both ways.
This is working fine, in general, as I am using your block/await function inside of the synchronous request/response.
The problem with this approach is, that since my web requests are running through
php-fpm
, theexec
command is using the wrong binary - becausePHP_BINARY
returns FPM.It would be great to have a setter for the PHP binary so that I could manually overwrite the binary for the synchronous process while maintaining the auto-detection logic within ReactPHP.
Is this something that I should PR?
The text was updated successfully, but these errors were encountered: