• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Issue Want to Change Max Upload File Size to 512mb or even 1gb for WordPress on Obsidian

David Borrink

Basic Pleskian
Server operating system version
CentOS Linux 7.9.2009
Plesk version and microupdate number
Plesk Obsidian 18.0.54 Update #3
I have one WordPress site used to host media for use in other WordPress sites. I was able to edit my .user.ini with this....

Code:
upload_max_filesize = 512M
post_max_size = 512M
memory_limit = 512M

And WordPress now states a max file size of 512M, but when I try a 484mb video I get a message: "Unexpected response from the server. The file may have been uploaded successfully. Check in the Media Library or reload the page." Well, nothing happened. Nothing uploaded. The video name is in a box like an upload window, but the progress bar doesn't start. So it's possibly stuck.

I went into the Websites and Domains area for this site and into the PHP settings. I matched all the above settings to the .user.ini file (I tried the PHP settings first and nothing worked, so that's why I'm in the .user.ini file as a next step, per a tutorial I'm reading).

This doesn't happen with small videos of 64mb, 30mb, 14mb. A 180mb, a 149mb, didn't work. So anything under 100 seems to be fine. Any thoughts?
 
Hi Evgeniy, thank you for your response. I tried that and the issue still persists with larger upload files. I've done other searches based on the "Unexpected response from the server. The file may have been uploaded successfully. Check in the Media Library or reload the page." message and there seem to be a number of reasons why this can happen. Some involve the files themselves. I'll keep looking over there. Something is bound to work, I'll just have to keep trying. But apparently isn't not a Plesk issue.
 
Back
Top