Installing or uploading to Wordpress and getting a Memory limit error

LPTechs

New member
Registered
Joined
Feb 21, 2018
Messages
13
Points
0
Sometimes when you are installing a new theme to Wordpress or even uploading your edits to Wordpress, there will be times that you get an error that says something like,

"You do not have enough memory to complete the task"

or something like that. A solution you can try is to increase the limits in your php.ini or .user.ini file in the public_html directory. Doing this will allow you to overwrite the default memory limits (which can sometimes be 2 MB) to where you need the limits at.

Keep this is mind when you do this, depending on the amount of resources you are allocated by your hosting company, they could be over used and could cause Internal Server Errors. You should consult with your hosting company before making this change.

Here are example increased limits you can use:

memory_limit = 192M
max_execution_time = 300
max_input_time = 300
upload_max_filesize = 100M
upload_tmp_dir = 128M
post_max_size = 128M
 

neckom

Well-known member
Hosting Provider
Registered
Joined
Mar 7, 2017
Messages
88
Points
0
The problem may also occur when either the max post size, max upload size or PHP memory limit defined for WordPress has been exceeded.

This is a very common problem when working with WordPress.
 
Latest Threads
Replies
1
Views
24
Replies
0
Views
176
Replies
1
Views
37
Replies
2
Views
81
Recommended Threads

Latest postsNew threads

Latest Hosting OffersNew Reviews

Sponsors

Tag Cloud

You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an alternative browser.

Top