How to set file uploading size limit
Submitted by gvsoft on Wed, 10/28/2020 - 10:36
I am Setting up H5P on my WordPress Website
I want to set upload a maximum of 2mb image only,
as I want to save uploading storage and time,
how can I set upload size limit, where to change
Wed, 10/28/2020 - 15:45
Hi gvsoft!You can limit the
You can limit the file upload size in the PHP configuration of your server (max_upload_size). There's no H5P specific option.
Mon, 11/02/2020 - 05:12
Thank you, can u suggest the file name.
Thank you otacke,
can u suggest me "Which File I need to edit if want to set File Size Limit?"
Mon, 11/02/2020 - 19:01
Hi!I can't give you the exact
I can't give you the exact location of the PHP configuration file (usually php.ini), because it may vary depending on your webserver, but I can give you https://www.google.com/search?q=PHP+configuration+max_upload_size
Mon, 11/02/2020 - 05:08
Which File I need to edit if want to set File Size Limit?
It will be useful if added in H5P Configuration,
but there may be a chance to limit it through the uploading dialogue code, but I am unable to find the correct file,
I just want to know Which File I need to edit if want to set Uploading File Size Limit?
Mon, 11/02/2020 - 18:04
Hi gvsoft,I think this page
I think this page may help.
Mon, 11/02/2020 - 18:28
Thank you, but need to modify h5p code,
Thank you BV,
actually, I am using the same method as you suggested,
changed php.ini settings in cPanel
and modified "h5peditor-file.class.php" for showing an error message for uploading a large file.
as shown below, but I want to do this in the file selection dialogue box itself,
anyhow thank you,
Wed, 01/12/2022 - 09:02
How about Moodle
This page shows how to set in WordPress. How about Moodle. Is it same to " Create or Edit an existing PHP.INI file"?
Mon, 01/17/2022 - 17:33
HI timberjia,Moodle should be
Moodle should be "simpler", you can check this documentation for the instructions.