Apologies, please ignore the line
> The fastcgi_params file we include in the above location blocks include
the lines
What followed wasn't really relevant (just about overriding php.ini values
with the PHP_VALUE command) so i removed it.
Posted at Nginx Forum:
https://forum.nginx.org/read.php?
Hi, Reinis has probably covered this but the default php.ini file has a
'File Upload section' with...
; Temporary directory for HTTP uploaded files (will use system default if
not
; specified).
; upload_tmp_dir =
I just uncommented the attribute and set it to a location on our main disk
e.g.
upl
Do you mind sharing your "PHP.ini" solution so that others know what
changes
to make to their "PHP.ini" to solve the same dilemma ?
http://php.net/manual/en/ini.core.php#ini.upload-tmp-dir
It's usually not set so by default on most linux distros ends up being /tmp
rr
__
garyc Wrote:
---
> Please ignore the last message, having learned a bit more about
> probing the file system we can now see that it is PHP that is caching
> the file to the system default location (hence rootfs) a small change
> to the PHP configu
Please ignore the last message, having learned a bit more about probing the
file system we can now see that it is PHP that is caching the file to the
system default location (hence rootfs) a small change to the PHP
configuration has sorted this.
Thanks to everyone for your help
Gary
Posted at Ng
Hello, Thanks for the hint I have managed to use the auth request module to
check available disk space before accepting the request so I only attempt
the upload if there is disk space available.
I am now having another problem. Our debian environment uses a rootfs
ramdisk which has just under 1GB
I advise you implementing - direct file upload.
Read more:
https://stackoverflow.com/questions/44371643/nginx-php-failing-with-large-file-uploads-over-6-gb/44751210#44751210
Posted at Nginx Forum:
https://forum.nginx.org/read.php?2,275567,275602#msg-275602
___
On Thu, Jul 20, 2017 at 06:36:21AM -0400, garyc wrote:
Hi there,
> With the fastcgi_request_buffering directive set to 'off' the disk space
> reduces by approximately 1.1GB so it does look like the
> fastcgi_request_buffering directive is doing what it should however nginx
> still appears to cach
Hello!
On Thu, Jul 20, 2017 at 06:36:21AM -0400, garyc wrote:
[...]
> Another approach we could take would be to add a disk space check api to our
> web app so we can confirm we have sufficient space before the upload POST
> call is made.
>
> I appreciate that running a web server in a low disk
Hi Maxim,
> With "fastcgi_request_buffering off;" nginx will send the request
> body to the FastCGI application immediately, without trying to
> buffer it anywhere.
I have been monitoring the disk space while uploading a test file of 1.1 GB
in size and have confirmed that with the fastcgi_reque
Thank you, it sounds like this approach may yet work.
> It is up to your FastCGI application to handle this though,
> and PHP as well as PHP-FPM may impose additional limitations
> and/or require additional configuration for this to work.
I will dig into the php configuration details and see if
Hello!
On Wed, Jul 19, 2017 at 10:33:01AM -0400, garyc wrote:
> Hello, hopefully someone can tell me if i am attempting the impossible.
>
> We use nginx and php5-fpm to handle the upload of test files used by our web
> app that may be several gigabytes in size.
>
> To achieve this we use a lo
Hello, hopefully someone can tell me if i am attempting the impossible.
We use nginx and php5-fpm to handle the upload of test files used by our web
app that may be several gigabytes in size.
To achieve this we use a location block for the upload url and define the
fastcgi_pass directive to pro
13 matches
Mail list logo