You are not logged in.
Hi!
I have a problem: I want to upload file about 2G. file uploads in /tmp while its size not more then ~980mb, after that he deleted and ~1.2G go to /dev/null
httpd was restart after I changed in php.ini
post_max_size = 30G
upload_max_filesize = 30G
error UPLOAD_ERR_CANT_WRITE: "Failed to write file to disk";
files less 900mb upload normally
Last edited by x1site (2014-07-22 09:53:56)
awesome + rofi
Offline
Do you only have 2G of RAM by any chance?
The /tmp filesystem is mounted in RAM and limited to half the amount of total memory. If this is your issue then either change the download location to somewhere else or adjust your tmpfs settings.
Last edited by Slithery (2014-07-22 09:34:03)
Offline
Do you only have 2G of RAM by any chance?
The /tmp filesystem is mounted in RAM and limited to half the amount of total memory. If this is your issue then either change the download location to somewhere else or adjust your tmpfs settings.
I have changed
upload_tmp_dir = /srv/temp
open_basedir = /srv/http/:/home/:/tmp/:/usr/share/pear/:/usr/share/webapps/:/srv/temp
it helped me. thx
Last edited by x1site (2014-07-22 09:53:44)
awesome + rofi
Offline