When I try to upload a big file I see error message "PHP Warning: finfo::buffer(): Failed identify data 12:cannot allocate 4298280168 bytes (Cannot allocate memory)application/x-bzip2; charset=binary in /var/db_backups/cloud/gdrive/cp2google.php on line 57".
Is it possible to do not read whole file to the memory? (do not use file_get_contents function)
When I try to upload a big file I see error message "PHP Warning: finfo::buffer(): Failed identify data 12:cannot allocate 4298280168 bytes (Cannot allocate memory)application/x-bzip2; charset=binary in /var/db_backups/cloud/gdrive/cp2google.php on line 57".
Is it possible to do not read whole file to the memory? (do not use file_get_contents function)