Alexander Makarov
Alexander Makarov
Yes. That is the current limitation. Any way to overcome it that you think about?
Kind of yes. But deserializing is the hard part in this case. We can add serialization of closures support, there are multiple solutions, but I'm not sure if it could...
@terabytesoftw any benchmarks?
Any idea for the fix?
Do you have time to do a pull request?
Interesting approach to try. We now have better test coverage, so tests may reveal the drawbacks...
Yes. Yii3 is able to execute in worker mode. I've used it and planned to extract my findings into a runner package. When do you need it?
https://github.com/yiisoft/yii-runner-frankenphp here's what I have so far. Not finished and on hold till at least Monday. If you have ideas or want to contribute, feel free to send pull requests.
Environment variables are quite cumbersome to use without any isolation such as Docker. If you have only a single project, defining variables locally should do such as ```sh export APP_ENV=dev...
Also try `fastcgi_param APP_ENV dev;` in your location block. Not sure if it will work well since I haven't touched "classic" setups for a while. But if I'd still used...