What is the error message? Allowed file upload sizes will also depend on your php.ini settings as well as settings in your HTTP server (Nginx, Apache, etc).
In your php.ini file, (find using php --ini command) you'll want to update the following values:
upload_max_filesize = 315M
post_max_size = 315M
If the upload is going to take a long time, you may also need to increase max_execution_time in your php.ini and the timeout setting in your HTTP server config.
You'll have to lookup instructions for your HTTP server.