h5p Question upload video problem

We are trying to create interactive videos via the create h5p question feature in Opigno. The problem is uploading large .mp4 videos. We have no trouble uploading 10mb videos but when trying a 40mb+ video we keep getting the "File Upload Error: The file you are trying to upload might be too large" error. In the php.ini file on our server, max_execuation_time = 500, and upload_max_filesize = 100M and post_max_size = 100M so I'm not sure what the problem is. Is there a file upload size limit hardcoded into Opigno. If so, is there a way to change this value? Many thanks in advance, Alex

Hi Alex,

Hi Alex,

Personally, I had a similar problem and to fix this, I had to create a separated .ini file (I called it "user.ini") that I put in the "/etc/php5/apache2/conf.d" folder and I wrote theses specific configurations in it :

max_execution_time = 500 upload_max_filesize = 100M post_max_size = 100M

Writing theses configurations directly in the php.ini file was doing nothing...

To be sure that these configurations are used, try to put the function "phpinfo()" in a php file and check the values that appears here.

Best regards,



Thanks Alan, Using the phpinfo() function, it appears that the post_max_size config value was set to 32M. I will tell our web host to set it to 100M and see if that works. Alex

That was it

Thanks Allan, it was the post_max_size value that was the problem. It works fine now. Alex