• 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

content-length issue when uploading large files

EricVis

Basic Pleskian
Domain has PHP Settings in Plesk set to 2G and I get this error when uplaoding a 48MB file using Wordpress. I assume I need ot modify this manually in conf file somewhere to allow uplaoding large files?

Requested content-length of 48443338 is larger than the configured limit of 10240000..
mod_fcgid: error reading data, FastCGI server closed connection...
 
Check following limits:

# egrep "^memory_limi|post_max|upload_max_f" /etc/php.ini
# grep LimitRequestBody /etc/httpd/conf/httpd.conf

And increase limit if necessary.
 
Back
Top