admin管理员组

文章数量:1402845

My client's in-development website based on WordPress multi site is experiencing the following issue. One single site out of dozens has it's max upload size limit set to 118 kilobytes for some reason.

I have done some investigating and have included the existing server and WordPress settings below for reference.

  • Nginx has client_max_body_size set to 64M
  • PHP has post_max_size and upload_max_size set to 64M in the main PHP 8.2 FPM php.ini file
  • The network's main settings page has the max upload file size set to 10M
  • Each individual sites settings has no limits applied to the Site Upload Space Quota setting
  • I ran this query SELECT * FROM wp_17_options WHERE option_name = 'upload_filetypes' OR option_name = 'upload_max_size'; to see if anything was somehow set in the database, but no results are returned.

Does anyone have insight on why a single site in the network has it's file upload max size set to so low?

My client's in-development website based on WordPress multi site is experiencing the following issue. One single site out of dozens has it's max upload size limit set to 118 kilobytes for some reason.

I have done some investigating and have included the existing server and WordPress settings below for reference.

  • Nginx has client_max_body_size set to 64M
  • PHP has post_max_size and upload_max_size set to 64M in the main PHP 8.2 FPM php.ini file
  • The network's main settings page has the max upload file size set to 10M
  • Each individual sites settings has no limits applied to the Site Upload Space Quota setting
  • I ran this query SELECT * FROM wp_17_options WHERE option_name = 'upload_filetypes' OR option_name = 'upload_max_size'; to see if anything was somehow set in the database, but no results are returned.

Does anyone have insight on why a single site in the network has it's file upload max size set to so low?

Share Improve this question asked Mar 5 at 1:57 Mike HermaryMike Hermary 2193 silver badges11 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 1

It could be a couple of things:

  • If they have a lot of files in the media library—or several large files—they could be getting close to their site's upload quota. If you need to increase this, go to the site's Manage Site page, then the Settings tab, and find Site Upload Space Quota. If it's blank, it's using the network's default value; you can specify a quota for this site. The value entered here is in MB.

  • It's possible there's an upload_size_limit_filter filter being applied, though I would expect that to affect all the sites in your network.

  • It's also possible that you're running low on disk space, but again, I would expect that to affect all your sites.

本文标签: phpWordPress single site in network has very low max upload file size limit