I'm working on a project where i need to enable users to upload large video files (>1G), I use PHP and MySql (XAMPP) in the server side and Javascript with jQuery in the client side.
I use the Javascript's FileReader
with Ajax to upload the video, The problem is that it works only for video files with size of less than 100M, I get this error when trying to upload a file of size > 100M:
"Fatal error: Out of memory (allocated 1065353216) (tried to allocate 325675664 bytes)...".
I updated the following php.ini settings:
memory_limit=20000M
upload_max_filesize=20000M
post_max_size=20000M
max_input_time=3000
max_execution_time=3000
If this is not enough, I also updated the .htaccess file with those settings, restarted XAMPP, and still getting this error for files that are larger than 100M.
Thanks for reading the question so far, Any suggestions?