WordPress – Fatal Error: Allowed Memory Size of 134217728 Bytes Exhausted

Trying to access your wordpress administrator dashboard but receiving this error?

Fatal Error: Allowed Memory Size of 134217728 Bytes Exhausted

If you’re just on a shared hosting services, you probably don’t have an access to your php.ini. If so, do it this way through your .htaccess

add this line to your htaccess:

php_value memory_limit 512M

That’s it then hit Save!

If that doesn’t work, you may wish to try alternate values for the memory limit depends on what you need:  8, 12, 16, 32, 64, 128, 512 ...etc.