I am using laravel with voyager as the admin panel. I am trying to upload a video through voyager media picker with file size 3GB but every time I do so I get the following message:
File is too big (3015.93MiB). Max filesize: 256MiB.
I changed the upload_max_filesize & post_max_size both to 4G But I still get the same issue.
I tried adding the following lines to .htaccess
php_value upload_max_filesize 4G
php_value post_max_size 4G
Still same issue
I tried amending the php.ini file found in vendor/laravel/sail/runtimes/7.4/php.ini and vendor/laravel/sail/runtimes/8.0/php.ini to the following:
[PHP]
upload_max_filesize = 4G
post_max_size = 4G
variables_order = EGPCS
Still I get the same issue.
I have also created a new file in the public_html directory called .user.ini and here is the content of the file:
upload_max_filesize = 4G
post_max_size = 4G
I still get the same issue.
I am really stuck and have no idea what to do, does anyone have any idea on how to solve this issue?