Results 45 comments of Dmitry Zenovich

Try to change the expression 'req->fd >= 0' into 'req && req->fd >= 0' here https://github.com/php/php-src/blob/PHP-5.5.33/sapi/fpm/fpm/fastcgi.c#L1073 or here https://github.com/php/php-src/blob/PHP-5.6.20/sapi/fpm/fpm/fastcgi.c#L1073

I hope it is a final solution. I suggest reporting this bug to php-fpm's authors.

https://github.com/zenovich/runkit/commit/9bbf76dfee94f242cf4751e2c8d8a0f0a5fa5121

@ilihost please try the lastest master branch

@ilihost Does this work?

@taylorotwell , thanks for reporting! Could you please provide the logs of compiling master branch?

Yeah, it looks like PHP7.

@JoyceBabu I can add this feature at least for user classes, but we need to figure out how it should affect the class' objects, the class' succesors, their objects, code...

> If you directly update the mmaped pages, how do you guarantee the OS kernel flush the dirty pages to disk as you want? @louchenyao, there is 'msync' function for...