Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#16 2023-03-04 10:21:45

gaekwad
Server grease monkey
From: People's Republic of Cornwall
Registered: 2005-11-19
Posts: 4,767
GitHub

Re: Increase image upload from 40

phiw13 wrote #334897:

It should reflect what php.ini tells, IIRC.

That used to be the case, certainly…my understanding is it’s set to 2000000 bytes (see here for the code). If the PHP upload limit is higher (and anecdotally this is often the case) then putting some absurdly large value in that box (e.g. 999999999) and saving will bring the number up as far as it’s allowed (i.e. wot PHP sez) so you’re effectively at the red line.

Offline

#17 2023-03-04 10:56:51

etc
Developer
Registered: 2010-11-11
Posts: 5,687
Website GitHub

Re: Increase image upload from 40

IIRC, txp max upload file size is not bound by php settings but by 9007199254740991b, let 8192Tb, which currently is the max safe JavaScript integer. Large files are sent in chunks to respect php limits.

Offline

Board footer

Powered by FluxBB