WWBN / AVideo-Encoder

Encoder Server for AVideo Platform Open-Source
https://platform.avideo.com
GNU Affero General Public License v3.0
152 stars 189 forks source link

Error upload_max_filesize in php.ini #534

Closed gbrn closed 6 months ago

gbrn commented 7 months ago

@DanielnetoDotCom Danny, I did my first test by sending a local file to encode to the personal AVideo Encoder. It presented the following error, asking to correctly configure php.ini I made these changes to the encoder server... within Apache's php and CLI's php. But the error is still persistent. I set it to upload_max_filesize=4000M both. During installation I made the correct settings and it was approved.

Erro The uploaded file exceeds the upload_max_filesize directive in php.ini

Can you tell me in Ubuntu which php.ini file I should actually change for Encoder to work with local files?

image

DanielnetoDotCom commented 6 months ago

you need to change

post_max_size = 8G
upload_max_filesize = 8G 
gbrn commented 6 months ago

post_max_size = 8G upload_max_filesize = 8G

Ok, I made the respective changes and it worked correctly. I would like to note that the changed file was on the AVideo Encoder server, directory: /etc/php/8.3/apache2 file php.ini