Skip to the content
Documentation
Help Start
Reading in:
  • German: 9,059 of 9,059 pages
About the help in other languages
All help pages

Upload limits and large files

Which limits decide how large an episode file can be on an Exponential site - PHP's upload_max_filesize and post_max_size, the media or file field's maximum size, the upload page's MaxFileSize - the messages each one…

Download as PDF

Address: https://doc.exponential.earth/exphelp/viewer/help/podcasters/upload-limits-and-large-files.md

On this page

Upload limits and large files

This page is for producers whose episodes are large, and for administrators who set the limits. Several limits apply at once; the smallest one wins. Knowing which one refused a file saves a lot of guessing.

Contents

  1. The limits
  2. Which message means which limit
  3. Choosing the limits
  4. When a file is too large
  5. Checklist

The limits

LimitWhereShipped or suggested valueApplies to
upload_max_filesizePHP (php.ini or the FPM pool)64M in the suggested production setevery upload
post_max_sizePHP64M in the suggested production set; must be at least as large as the uploadevery upload
Max file size of the class attributeSetup > Classes, media or file field, in MB0: no limit of its ownthat field
MaxFileSizeextension/ezmultiupload/settings/ezmultiupload.ini [MultiUploadSettings], on installations with the upload page64Mthe upload page
max_execution_time, request_terminate_timeoutPHP, the FPM pool60 suggested; FPM's off unless setthe time a request may take

The PHP values are from PHP settings for Exponential. The upload page's own comment says it plainly: "PHP's upload_max_filesize and post_max_size apply as well: the smallest of the three is the limit."

The upload page shows its limit, for example At most 64 MB per file (Images, media and uploads).

Which message means which limit

Message or signLimitSource
"The size of the uploaded file exceeds the limit set by upload_max_filesize directive in php.ini. Please contact the site administrator."PHP upload_max_filesizekernel/classes/datatypes/ezmedia/ezmediatype.php
"The size of the uploaded file exceeds the limit set by the upload_max_filesize directive in php.ini.", on a file fieldPHP upload_max_filesizekernel/classes/datatypes/ezbinaryfile/ezbinaryfiletype.php
"The size of the uploaded file exceeds site maximum: %1 bytes." (media field) or "... exceeds the maximum upload size: %1 bytes." (file field)the class attribute's Max file sizethe same files
The upload page marks the row "too big" before sendingMaxFileSize of the upload pageezmultiupload
The whole form comes back empty, as if nothing was postedpost_max_size exceeded: PHP drops the whole requestPHP
The upload runs, then the page fails after a long waita time limit of PHP, FPM or the web serverthe server

Choosing the limits

  • Take your largest expected file: a 90-minute video can be several gigabytes, a two-hour MP3 at 128 kbit/s about 115 MB.
  • Set upload_max_filesize above it, and post_max_size a little above that.
  • Raise the upload page's MaxFileSize to match, in an override of ezmultiupload.ini.
  • Use the class attribute's Max file size to keep files in check per class, for example 200 MB for audio episodes, so a wrong file (an uncompressed WAV) is refused at once.
  • Check time limits for slow connections: a 500 MB upload at 10 Mbit/s takes about seven minutes.
  • PHP also needs disk space for the temporary upload; the temporary directory must hold the largest file (Storage layout).

When a file is too large

  1. Make it smaller: export at the bitrate listeners need. Speech is usually well served by a lower bitrate than music; Exponential does not re-encode, so the file you upload is what every listener downloads.
  2. Split it: a very long recording can be two episodes.
  3. Raise the limit: ask the administrator, with the size you need (Working with your administrator).
  4. Host it elsewhere: for very large video, use a video service and embed it (Embedding a video or a stream). A podcast feed's enclosure must be a file on your site, so for audio podcasts this is not an option without changes (CDN and external media hosting).

Checklist

  • To do: upload_max_filesize and post_max_size exceed the largest episode.
  • To do: The upload page's MaxFileSize matches.
  • To do: Each media field has a sensible Max file size.
  • To do: Timeouts allow the slowest expected upload.
  • To do: Disk space covers the temporary copy and the stored file.

Become an Exponential Partner

Partners share their information, provide funding, contribute back and develop the products with us, and that is how Exponential grows. A partner website and dashboard are planned for mid-2027: please become a partner today to speed up our growth rate and land new features faster.

Something wrong on this page? Report an error

Documentation license

This documentation is free documentation, licensed under the GNU Free Documentation License 1.3 or later.

Exponential Copyright © 1998-2026 Exponential Foundation and 7x