Ian G. Lang logo

PROBLEM:
when I would try to upload anything smaller than 2MB, the transfer worked as advertised.  The moment I stepped outside that boundary, the process failed with a file too large error.

...I found a solution that works.

This one had me good for a few hours.  I had to stitch together information from all over the place to come up with this solution.
I knew it was a limit somewhere.  I use JCE Pro on Joomla 4x, with an Apache Server.

SOLUTION:
Make a php.ini file with the following information and place it in the root directory of your Joomla 4 installation.  **There should NOT be a php ini file in the Administrator directory as someone had mentioned in one of the countless sites I went to.

memory_limit="1024M"
upload_max_filesize="64M"
post_max_size="64M"
max_execution_time="60"
max_input_time="60"

-- the file literally goes in the root, not in a subdirectory.

set your file size limits in Media > Options 

set your size limits in JCE under Profiles > {profile} > Editor Parameters > Filesystem > Upload Filesize

That should solve the issue as it did for me.