Recently I faced a very strange (to me) problem with my site that is I can’t see http://www.shahariaazam.com/wp-admin page. When I go there then I see an error something like “Fatal error: Allowed memory size of 33554432?bytes exhausted (tried to allocate 1966080 bytes) in …..“. It will make you tensed about that this error. Don’t worry. I have a solution.
But after lots of searching at last I solved it by my own brainstorming that can be strange. It’s cause because of your PHP execution memory limit.
If you are using dedicated server then you can just find your php.ini file and find ‘memory_limit’. You can change this memory_limit value to something little bigger like 64M, 256M depends on your system.
But if you are using shared hosting then you can just create a new file in your wp-admin directory of your wordpress installation. Rename that new file to php.ini and write the following code.
memory_limit = 256M;
Now your problem is solved. Now go to yoursite.com/wp-admin and you will be able to access wordpress Dashboard homepage without any error. Happy blogging!!!