With Joomla! 4.0.3 and a PHP configuration including
memory_limit=-1
try to upload an image using the Media Manager (Content -> Media in the Backend).
Since according to the PHP dokumentation "memory_limit=-1" means "there is no limit", the upload should work.
Upload is rejected with error "This file is too large to upload."
Joomla! 4.0.3 Stable [ Furaha ] 12-September-2021 10:39 GMT
PHP-Version 7.4.24
Apache Webserver
Labels |
Added:
No Code Attached Yet
|
They are both set to 64M, and the error occurs even when uploading tiny files of about 10k.
I also could workaround the problem by adding
ini_set('memory_limit','256M');
to administrator/index.php
There is a bug when memory limit is set to -1. Working on a fix
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2021-10-19 12:17:12 |
Closed_By | ⇒ | alikon |
Status | Closed | ⇒ | New |
Closed_Date | 2021-10-19 12:17:12 | ⇒ | |
Closed_By | alikon | ⇒ |
Re-opening as the PR has been closed.
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2021-11-13 22:35:15 |
Closed_By | ⇒ | richard67 |
But what are the important settings
post_max_size
upload_max_filesize