Operating system:Ubuntu Linux
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 …