Having trouble uploading large files
-
I increased my php uploads via the following:
file_uploads = On memory_limit = 500M upload_max_filesize = 500M post_max_size = 500M max_execution_time = 600
When I go to the Media Library it says “Maximum upload file size: 500MB”
If I look at memory usage while trying to upload, I do not reach the upper limit of my host. We’re talking 600MB RAM usage out of 2GB. CPU might go up to 5% or so.
At first this manifested as the Big File Upload issue. So I went down that rabbit hole for a few hours. But then I decided to try and upload an MP3 that was larger than 2MB (the PHP default) and that fauled with:
“Unexpected response from the server. The file may have been uploaded successfully. Check in the Media Library or reload the page.”
I *am* able to upload small files. I tested with an audio file that was 353KB.
Is there another config somewhere in WordPress itself I need to change to enable WordPress to handler larger uploads?
- The topic ‘Having trouble uploading large files’ is closed to new replies.