# Issues with uploading and file sizes

**URL:** <https://forum.pydio.com/t/issues-with-uploading-and-file-sizes/2052>\
**Category:** Pydio 8\
**Tags:** php71\
**Created:** [January 17, 2019, 11:09am UTC](https://forum.pydio.com/t/issues-with-uploading-and-file-sizes/2052 "2019-01-17T11:09:53Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![mattish.91](https://avatars.discourse-cdn.com/v4/letter/m/54ee81/32.png) [@mattish.91](https://forum.pydio.com/u/mattish.91)\
**Post date:** [January 17, 2019, 11:09am UTC](https://forum.pydio.com/t/issues-with-uploading-and-file-sizes/2052/1 "2019-01-17T11:09:53Z")

</div>

So, i have been runing pydio for some years now, with new installs over the old ones that have broken in some way or another after 1-5 upgrades xD So now im here again with new issues that all of a sudden just showed up after maybe 3 months of not upgrading or modifying anything in the pydio files. i am running the same version of PHP (7.2.8) No apache upgrades nor any MySQL upgrades.

So to the issue: File uploads says files are to big, i have checked the php.ini and file size limit is 8192M just like it should (moving/sharing big files most of the time) when i go in to pydio settings \> Uploaders Options \> File size: the already filled in number is: -2147483648 (not entirely sure why it is like this?) and simply changed that to 8192M instead like i were hoping it should have been, saved and then restarted the server. when i come back in to pydio the file size once again is -2147483648 and not sure why… would you be able to provide som information about this particular issue? Im willing to provide all the information i can to solve this issue. i have a client im going to on monday 21 Jan providing some files for him to play with but i simply can’t upload them. Can i sync two folders with the same client just adding another “sync”? from the sync client for Windows?

Pydio 8.2.2

EDIT:

I upladed the file to the repository using FTP and this error comes up whil i try to view it in pydio:

Params: FsAccessDriver.php  
message=filesize(): stat failed for pydio://pydiouser@1/folder/to/file/BACKUPS.zip

not sure if that helps anything but the file is 2,45 GB and should definitly be able to be read.

also the folder is showing up as empty even tho there is more files in it.

---

<div class="post-metadata">

**Author:** ![zayn](https://avatars.discourse-cdn.com/v4/letter/z/a87d85/32.png) [@zayn](https://forum.pydio.com/u/zayn)\
**Post date:** [January 21, 2019, 8:44am UTC](https://forum.pydio.com/t/issues-with-uploading-and-file-sizes/2052/2 "2019-01-21T08:44:24Z")

</div>

Hi,

> [@mattish.91](#):
>
> he already filled in number is: -2147483648 (not entirely sure why it is like this?)

this value depends on your `upload_max_filesize` inside of your php.ini file.  
(what i mean is that it will be filled with whatever value you’ve got in your php.ini file).

The value on the ui can only be lower that the the value inside the php.ini, if you want more you have to increase the values inside the php.ini.

---

<div class="post-metadata">

**Author:** ![mattish.91](https://avatars.discourse-cdn.com/v4/letter/m/54ee81/32.png) [@mattish.91](https://forum.pydio.com/u/mattish.91)\
**Post date:** [January 22, 2019, 8:55pm UTC](https://forum.pydio.com/t/issues-with-uploading-and-file-sizes/2052/3 "2019-01-22T20:55:21Z")

</div>

Well that’s the thing, I got php.ini set to 8192M where does it get that -2147483648.

So basically what you are telling menus that bit should be fine to just set 8191M in pydio?

---

<div class="post-metadata">

**Author:** ![zayn](https://avatars.discourse-cdn.com/v4/letter/z/a87d85/32.png) [@zayn](https://forum.pydio.com/u/zayn)\
**Post date:** [January 23, 2019, 7:59am UTC](https://forum.pydio.com/t/issues-with-uploading-and-file-sizes/2052/4 "2019-01-23T07:59:12Z")

</div>

Hi,  
yes you can set the same value (which should be done automatically), would you mind telling me the path of the php.ini file that you modified ?

---

<div class="post-metadata">

**Author:** ![candura](https://avatars.discourse-cdn.com/v4/letter/c/f475e1/32.png) [@candura](https://forum.pydio.com/u/candura)\
**Post date:** [January 23, 2019, 9:43pm UTC](https://forum.pydio.com/t/issues-with-uploading-and-file-sizes/2052/5 "2019-01-23T21:43:55Z")

</div>

Here’s the rule for setting up the 3 different ‘memory size’ settings in php.ini:

_If the upload\_max\_filesize is larger than post\_max\_size, you must increase post\_max\_size so that it is bigger than upload\_max\_size._

_If the value of post\_max\_size is larger than memory\_limit, you must increase memory\_limit so that it is larger than post\_max\_size._

If you’re at Pydio 8, and haven’t set up Pydio Booster, it’s probably a good idea to do that as it’ll alleviate the problem with php memory size limitation

---

<div class="post-metadata">

**Author:** ![mattish.91](https://avatars.discourse-cdn.com/v4/letter/m/54ee81/32.png) [@mattish.91](https://forum.pydio.com/u/mattish.91)\
**Post date:** [February 5, 2019, 6:42pm UTC](https://forum.pydio.com/t/issues-with-uploading-and-file-sizes/2052/6 "2019-02-05T18:42:44Z")

</div>

This solved the issue! Thanks!

---

<div class="post-metadata">

**Author:** ![good\_boy](https://yyz2.discourse-cdn.com/flex032/user_avatar/forum.pydio.com/good_boy/32/2178_2.png) [@good\_boy](https://forum.pydio.com/u/good_boy)\
**Post date:** [October 31, 2023, 10:19pm UTC](https://forum.pydio.com/t/issues-with-uploading-and-file-sizes/2052/7 "2023-10-31T22:19:52Z")

</div>

hello, sir can you please tell me how can i get into the php.ini file location because i couldn’t find and when i try to upload more than 1GB the uploading keeps continuing and after 2 attempts the upload failed please help thanks.
