Comments on: How to Increase the Maximum Upload and PHP Memory Limit (2022) https://wpmudev.com/blog/increase-memory-limit/ The WPMU DEV Blog provides tutorials, tips, resources and reviews to help out any WordPress user Wed, 09 Aug 2023 01:05:39 +0000 hourly 1 https://wordpress.org/?v=6.7.1 By: Martin Aranovitch https://wpmudev.com/blog/increase-memory-limit/#comment-180432 Wed, 09 Aug 2023 01:05:39 +0000 http://premium.wpmudev.org/blog/?p=141758#comment-180432 In reply to all-the-good-names-were-taken.

We do mention in the article that “the maximum file upload size for all WPMU DEV-hosted sites is 128Mb, regardless of plan,” and that “a PHP memory limit of 128MB should be more than enough for most sites unless you have a plugin that needs more.”

With our managed hosting, we balance the memory limit, max execution and memory limits. 128M for upload limit will cover most of the usage. For higher than that we recommend contacting our support team and we will explore other approaches with you. For example, using sFTP and a plugin that allows importing to WordPress media library or https://wordpress.org/plugins/tuxedo-big-file-uploads

]]>
By: all-the-good-names-were-taken https://wpmudev.com/blog/increase-memory-limit/#comment-179246 Fri, 16 Dec 2022 20:33:00 +0000 http://premium.wpmudev.org/blog/?p=141758#comment-179246 Some one should point out, maybe they remove these comments, but WPMUDEV is a hosting company and they have a hard limit of 128mb file upload which can not be changed. This article is clearly misleading and deceptive. They are using a problem people are having (128mb file upload limit) to sell their hosting which has a 128mb file upload limit. All the information in this article can not be used to change that limit. It is the way they present the information with their inserted ads that look like part of the guide “If you don’t want to deal with any of this alone and want a reliable host”

]]>
By: Middlelab https://wpmudev.com/blog/increase-memory-limit/#comment-178341 Thu, 14 Jul 2022 03:59:12 +0000 http://premium.wpmudev.org/blog/?p=141758#comment-178341 In reply to Dimitris.

You can use any value you want actually, just keep in mind that this can’t be higher than the PHP memory_limit value on the server. Or to better say this, it can be higher but won’t make any difference. :)

Thank you,
Dimitris

But without the limit, some upload wont work.

]]>
By: Daniel Peres https://wpmudev.com/blog/increase-memory-limit/#comment-178123 Wed, 18 May 2022 04:19:44 +0000 http://premium.wpmudev.org/blog/?p=141758#comment-178123 I really enjoyed this content. I really had a lot of doubts about what is the required memory limit for a WordPress site and how it impacts the choice of dedicated hosting. And I also didn’t know the difference between changing wp-config or php.ini

]]>
By: Chip https://wpmudev.com/blog/increase-memory-limit/#comment-178004 Sun, 24 Apr 2022 18:31:04 +0000 http://premium.wpmudev.org/blog/?p=141758#comment-178004 It’s disappointing that even after rebuilding SNAPSHOT (v4) it still fails to backup on SITEGROUND due to insufficient php execution memory. Siteground does not offer the option to increase that on shared hosting accounts.

In the meantime, ManageWP backup never fails, and has a very small server footprint. Something to perhaps look into and figure out how to optimize SNAPSHOT.

Meanwhile, sticking to ManageWP as of now WPMUDEV is unfortunately still not a fully working alternative.

Looking forward to SNAPSHOT v5…

]]>
By: Dimitris https://wpmudev.com/blog/increase-memory-limit/#comment-177400 Thu, 20 Jan 2022 17:53:21 +0000 http://premium.wpmudev.org/blog/?p=141758#comment-177400 In reply to Middlelab.

You can use any value you want actually, just keep in mind that this can’t be higher than the PHP memory_limit value on the server. Or to better say this, it can be higher but won’t make any difference. :)

Thank you,
Dimitris

]]>
By: Middlelab https://wpmudev.com/blog/increase-memory-limit/#comment-177392 Mon, 17 Jan 2022 15:37:57 +0000 http://premium.wpmudev.org/blog/?p=141758#comment-177392 1. Edit your wp-config.php file
Wp-config.php is one of the most important WordPress files because it contains your base configuration details. You’ll find it in the root of your WordPress file directory.

To edit the memory limit and upload limit, look for this line:

define(‘WP_MEMORY_LIMIT’, ’32M’);

Can I do 128 on memory limit?

]]>
By: Predrag Dubajic https://wpmudev.com/blog/increase-memory-limit/#comment-173415 Tue, 24 Dec 2019 13:39:53 +0000 http://premium.wpmudev.org/blog/?p=141758#comment-173415 In reply to alaantv.

Hi alaantv,

I’m afraid there doesn’t seem to be a way to do this in WP options or by using a define, closest thing I was able to find for accomplishing it was this discussion:
https://stackoverflow.com/a/13959462

Cheers,
Predrag

]]>
By: alaantv https://wpmudev.com/blog/increase-memory-limit/#comment-173409 Sun, 22 Dec 2019 07:43:05 +0000 http://premium.wpmudev.org/blog/?p=141758#comment-173409 Can we have different limits based on the file types? Videos need a higher size limit than images or other files’ types.

]]>
By: Jenni McKinnon https://wpmudev.com/blog/increase-memory-limit/#comment-165576 Fri, 09 Dec 2016 02:30:38 +0000 http://premium.wpmudev.org/blog/?p=141758#comment-165576 In reply to Glenn.

Hey Glen,

LOL! I have known that pain all too well, my friend. You could try something like 90 or 190 depending on where you’re at now.

It’s also a really good idea to try and remove plugins you don’t really need or replace them with plugins that are multi-purpose and take care of more of your site needs without adding so many plugins. This should help reduce a lot of the strain on your PHP memory since less requests will be made.

Good luck,

Jenni

]]>