WordPress Memory Limit Increase | WP Learning Lab




Grab Your Free 17-Point WordPress Pre-Launch PDF Checklist:
Download our exclusive 10-Point WP Hardening Checklist:
WordPress Memory Limit Increase | WP Learning Lab

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

Exclusive for WPLearningLab viewers, up to 50% off hosting:

In this tutorial you will learn how to increase the memory limit for your WordPress site. Usually the reason you want to do this is because a plugin or a theme is telling you that you need a higher memory limit for it to function properly.

Open your WordPress website’s wp-config file in cpanel or via FT. Paste the code below into it. You can paste it anywhere above where it says “Stop Editing. Happy Blogging”.

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

The only thing you need to change in the snippet above is the ’64’. You can make that number whatever your plugin or theme is requesting. Usually it would be 64, 96, 128, or 256. I’ve never seen anything WordPress plugins or themes require more than 256.

Make sure you keep the “M” in the there. It tells WordPress that it’s megabytes.

If this change doesn’t fix the error then your host may be capping the WordPress PHP memory limit. Many hosts cap it at 8 megabytes, which isn’t much.

So that is how to increase WordPress PHP memory limit on your WordPress site.

Oh, one more thing. When you do a WordPress memory increase via the wp-config.php file the memory increase is only valid for that one website.

I hope this information helps you! If you have any questions leave a comment below or ping me @WPLearningLab on Twitter.

————–

If you want more excellent WordPress information check out our website where we post WordPress tutorials daily.

Connect with us:

WP Learning Lab Channel:

Facebook:

Twitter:

Google Plus:

Pinterest:


Fuente – Source

WordPress Memory Limit Increase | WP Learning Lab

Necesitas ayuda con wp? Entonces WPVideo es tu sitio.
Encuentra lo que buscas entre cientos de miles de videos y experiencias personales de otros usuarios. Todos los que empezamos con wp deberíamos tener acceso a esta web, ojalá yo hubiera tenido algo así cuando empecé mi camino como webmaster 🙂
Pero ahora quiero y puedo poner esta web a vuestra disposición.
Disfrutadla 😉

Need help with wp? Then WPVideo is your site.
Find what you are looking for among hundreds of thousands of videos and personal experiences of other users. All of us who started with wp should have access to this website, I wish I had something like that when I started my journey as webmaster 🙂
But now I want and I can put this website at your disposal.
Enjoy it 😉

https://www.wpvideo.eu

Publicado en Plugins, Temas (Themes), Tutoriales (Tutorials), Wordpress y etiquetado .

Deja un comentario

Tu dirección de correo electrónico no será publicada. Los campos obligatorios están marcados con *