Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+2 votes
1.3k views
in Plugins by
Hi! Please help with video embeds.

How to increase upload limit for local video embeds (Maximum size of uploads: 8.0 MB (max 8.0))or is this hosting issue or it can be done somewhere in core?
Q2A version: latest

1 Answer

+1 vote
by
edited by

This problem may be able to be saved by increasing variables of server. However, in the case of full-managed-server which is not allowed change of variables OR shared-server, you may be unable to change variables...

[Variables of PHP]

  • memory_limit
  • max_execution_time
  • max_input_time
  • post_max_size
  • upload_max_filesize

[Variables of MySQL]

  • max_allowed_packet
There are many servers which max_allowed_packet of MySQL is restricted to 1 MB. Since Q2A saves uploaded file in blob form at DB, Q2A requests very big query to MySQL. If max_allowed_packet is small, connection of DB will be cut. When you can't change server variables by php.ini or my.cnf, it seems that there is method of changing variabes  temporarily by PHP. But, It seems that processing is not contained in Q2A. I have not tried change of program. 

 

by
edited by
How can i find upload directory path?
...