Installing or uploading to WordPress and getting a Memory limit error

Big on Hosting. Unlimited Space & Unlimited Bandwidth

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

Source

Both comments and pings are currently closed.

Comments are closed.