'stream_copy_to_stream() Error when uploading a 3MB PDF File
I am trying out what file size I can upload in my laravel application. With file size of 3MB I ran into this error:
stream_copy_to_stream(): Read of 8192 bytes failed with errno=21 Is a directory
I googled it and all solutions were to increase the constants in php.ini file. I had multiple of those and changed every single one of them to 1000M - before they were all 100M - which is weird as well because 3MB should work then.
I read lots of question about this but none had a solution for me.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
