'cannot upload mp4 file manager in laravel 8 error 'invalid JSON response from server'

enter image description here

it's already working max size 5M. i want to mp4 upload file manager in laravel 8. file size max 350M. i cannot upload mp4 big size. i was changed lfm.php inside.

'folder_categories'        => [
    'file'  => [
        'folder_name'  => 'files',
        'startup_view' => 'list',
        'max_size'     => 500000, // size in KB
        'thumb' => true,
        'thumb_width' => 80,
        'thumb_height' => 80,
        'valid_mime'   => [
            'image/jpeg',
            'image/pjpeg',
            'image/png',
            'image/gif',
            'application/pdf',
            'video/mp4',
            'video/mpeg',
            'text/plain',
        ],
    ],

 'php_ini_overrides'        => [
    'memory_limit' => '256M',
    'post_max_size' => '125M',
    'upload_max_filesize' => '100M',
],

and i was Apache php.ini already changed

    post_max_size=100M
    upload_max_filesize=100MB


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source