The server returned a "413 payload too large"

Operating system:Ubuntu Linux
OS version:16.04.7

I have a laravel script in this VPS for a LMS application , with Apacehe2 and PHP 7.4 as the supporting requirements . The script works fine but the The server returned a “413 payload too large” is triggered whenever we try to upload the video is ranges from 15mb to 200mb . The php.ini is set accordingly with memory_limit to 1G , upload_max_filesize to 8G and post_max_size to 8G. This same script works fine in a cpanel shared environment.

How do we rectify this issue and upload the file as required ? Help us out …

Ubuntu 16.04 is end of life now. It is no longer supported. You need to upgrade your OS.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.