S
S
Stanislav2017-10-19 00:19:12
PHP
Stanislav, 2017-10-19 00:19:12

What is the error with pwritev() in nginx when uploading files in php-fpm?

Good afternoon, colleagues.
I came across a previously unknown error when uploading files in php-fpm.
The script crashes with the following error:
pwritev() "/var/lib/nginx/body/0000000004" failed (38: Function not implemented)
There may be a problem in the file system. Nginx + php-fpm is in the linux subsystem, the code is in Windows 10. I use Windows 10 with the Linux subsystem, in this case, Ubuntu 16.
Someone faced a similar problem?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrey Burov, 2017-10-19
@BuriK666

https://linux.die.net/man/2/pwritev
Windows can't do that. Do not be perverted like that, either run nginx under win, or a full-fledged * nix machine.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question