# PHP upload limit raised to 4G, Library page still stops at 2GB

**URL:** https://community.xibo.org.uk/t/php-upload-limit-raised-to-4g-library-page-still-stops-at-2gb/38531
**Category:** Get Help
**Created:** [November 4, 2026, 3:07pm UTC](https://community.xibo.org.uk/t/php-upload-limit-raised-to-4g-library-page-still-stops-at-2gb/38531 "2026-11-04T15:07:26Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![LorenzBerger](https://community.xibo.org.uk/user_avatar/community.xibo.org.uk/lorenzberger/32/16496_2.png) [@LorenzBerger](https://community.xibo.org.uk/u/LorenzBerger)
#### Post date: [November 4, 2026, 3:07pm UTC](https://community.xibo.org.uk/t/php-upload-limit-raised-to-4g-library-page-still-stops-at-2gb/38531/1 "2026-11-04T15:07:27Z")

</div>

I am running Xibo CMS 4.5.6 in Docker and need to upload files larger than 2GB. I set these in `config.env` and recreated the container:

```auto
CMS_PHP_POST_MAX_SIZE=4G
CMS_PHP_UPLOAD_MAX_FILESIZE=4G
CMS_PHP_MAX_EXECUTION_TIME=600

```

Inside the container, PHP confirms `upload_max_filesize` and `post_max_size` are both 4G. Apache’s request body limit is also unlimited.

The Library page still says the maximum file size is 2GB, and a larger file is rejected before the upload starts.

`Library Size Limit` was 0 (DB). Setting it to 10GB makes the page show 10GB, but that also caps the whole library. The upload then finishes and fails with “your library is full”, because the media already stored is over 10GB.

The PHP settings from the Docker docs do not change the limit shown on the Library page. Is the 2GB limit on that page separate from `upload_max_filesize`?

Thanks for any help.
