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
andupload_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
andupload_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 badges1 Answer
Reset to default 1It 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
版权声明:本文标题:php - WordPress single site in network has very low max upload file size limit 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1744353529a2602188.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论