cancel
Showing results for 
Search instead for 
Did you mean: 
Go to solution
keilou
Novice

Fatal error: Allowed memory size exhausted

I have purchased the Godaddy Economic Linux Hosting w/ Cpanel and tried to install the Bridge Wordpress from Themeforest.

 

However I got this error when I tried to activate the plugins:

Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 12288 bytes) in /home/pangko/public_html/wp-admin/includes/menu.php on line 65

 

I did my research which lead me to changing my wp-config.php by adding this line at the bottom:

define( 'WP_MEMORY_LIMIT', '256M' );

 

However it still doesnt work. Does anyone can help me with this problem? Cheers

45 REPLIES
hassan2
Tinkerer
Solution

Re: Fatal error: Allowed memory size exhausted

Hi

try this its work with me ...

in Cpanel

go to  softwar section select php version then new window open show you the version of the php you use .

click on it if its show 5.4 native select other version like 5.6 then click on set as current then click safe after that you have to click on the link on the right of the screen ( Switch To PHP Options ) find memory_limit and change it to the limit you want (click on the value )

and find upload_max_filesize and change it.

 

 

keilou
Novice

Re: Fatal error: Allowed memory size exhausted

It works! Thank you so much!

hassan2
Tinkerer

Re: Fatal error: Allowed memory size exhausted

You are welcome

Re: Fatal error: Allowed memory size exhausted

It worked for me Hassan, Thank you so much. We wasted our last two days struggling with it and now its ON.

 

Big Thanks to you.

 

Regards,

 

Atul

 

 

sivajan89
Novice

Re: Fatal error: Allowed memory size exhausted

Thanks!  Saved me countless, frustrating hours! 

Re: Fatal error: Allowed memory size exhausted

thanks a million for this! saved me a 45min wait for tech support 

mcquebert
Novice

Re: Fatal error: Allowed memory size exhausted

THANK YOU.  Found this solution and it worked!!!  I am a total novice and I was able to do this.  This forum is awesome!!!  

Eggplant
Novice

Re: Fatal error: Allowed memory size exhausted

Hi,

 

I just tried with your suggestion, but all my admin page become 500 error after switching the php version. It's still not work even after I switched it back, do you have any idea why it's not working in my site?

nozerider
Novice

Re: Fatal error: Allowed memory size exhausted

seems to have worked for me, thank you!

Ian1
Novice

Re: Fatal error: Allowed memory size exhausted

Worked for me, thanks

malikheru
Novice

Re: Fatal error: Allowed memory size exhausted

thank you., that worked.  finally.., online advice that works!

Re: Fatal error: Allowed memory size exhausted

Once I change it - how long does it take before it's in effect?  Anyway to test and see what  the server is actively set at outside of Cpanel?

 

user6
Novice

Re: Fatal error: Allowed memory size exhausted

Works perfectly. Thanks so much for posting.

kaystone001
Novice

Re: Fatal error: Allowed memory size exhausted

thank you so much. you just resolved this 3 month old problem.

Re: Fatal error: Allowed memory size exhausted

Thank you - it also worked for me!

seep
Novice

Re: Fatal error: Allowed memory size exhausted

THANK YOU! YOU ROCK! This totally helped!

Tolkin
Novice

Re: Fatal error: Allowed memory size exhausted

Hassan my friend you are more useful than at least 2 tech employees I just talked to. 

 

They said they do not understand what is going wrong with my hosting and why I am getting those errors. I just solved my problem following your advice. 

 

Thanks for your help. 

 

Still migrating my hosting to a better company. Godaddy became such a bad hosting company if you want to start a business. 

Csta
Novice

Re: Fatal error: Allowed memory size exhausted

Thank you. This worked for me.

 

Much appreciated.

asiascouts
Novice

Re: Fatal error: Allowed memory size exhausted

Thanks heaps Hassan2 - worked a treat for me still too.

 

 

dineshptl8
Novice

Re: Fatal error: Allowed memory size exhausted

thank you so much.

klisterman
Skilled

Re: Fatal error: Allowed memory size exhausted

THANK YOU HASSAN2!!!!! This worked for me too. I really appreciate your sharing of this info! It saved me lots of trouble.

SuperRod
Novice

Re: Fatal error: Allowed memory size exhausted

Thanks for this help. Just started to get worried.

Re: Fatal error: Allowed memory size exhausted

HASSAN You savior!! Thank you! it worked for me too Smiley Happy 

CGCJen
Novice

Re: Fatal error: Allowed memory size exhausted

YES! You just saved my day. This worked perfectly. Thank you!

Re: Fatal error: Allowed memory size exhausted

thanks, it works .

nayebare
Novice

Re: Fatal error: Allowed memory size exhausted

i my cpanel there are no php options

 

Re: Fatal error: Allowed memory size exhausted

You da man!

Re: Fatal error: Allowed memory size exhausted

Awesome solution - worked a treat. Thank you!

ddsnags
Novice

Re: Fatal error: Allowed memory size exhausted

Worked like a charm, m8! Cheers

timinepre
Novice

Re: Fatal error: Allowed memory size exhausted

Thanks 

gLorenzo
Novice

Re: Fatal error: Allowed memory size exhausted

Thank you sir!

maswgroup
Novice

Re: Fatal error: Allowed memory size exhausted

Thank you So much

gohigh11
Novice

Re: Fatal error: Allowed memory size exhausted

It worked for me, thank you!

PedroD
Novice

Re: Fatal error: Allowed memory size exhausted

It Worked perfectly!

As soon as I changed to php 5.6 it change to 128M and the site started working fine but then I just increase the memory to 256M just in case and the file upload to 8M.

 

Thanks bro!

anasmunir
Novice

Re: Fatal error: Allowed memory size exhausted

Thank you so much man... you just saved my site.

Adammeme
Novice

Re: Fatal error: Allowed memory size exhausted

Amazing tnx , Goddaddy is doing me a  pain with the limitation

angioletta
Novice

Re: Fatal error: Allowed memory size exhausted

Thank you so much to post this solution. 

 

Re: Fatal error: Allowed memory size exhausted

hassan2!!  Thank you SO MUCH!!!  I've been trying to fix this problem for months and finally came across this thread!!!

breakbeat
Novice

Re: Fatal error: Allowed memory size exhausted

thank you so much, I thought I'd broken my site as this happened after a manual update and godaddy phone support is down, Heart

petimi
Novice

Re: Fatal error: Allowed memory size exhausted

if you can,  upgrade straight to php7

you get much better performance and security 

it did the trick for my site VegasHero.co when it was falling down in the past

pciviletti
Novice

Re: Fatal error: Allowed memory size exhausted

You rock...gosh that was easy with your instructions.

Michael9
Novice

Re: Fatal error: Allowed memory size exhausted

Wow. Thank you so much. Easy directions. I tried it and it worked the first time!!!

Legs
Novice

Re: Fatal error: Allowed memory size exhausted

Thanks for a simple solution

tet
Novice

Re: Fatal error: Allowed memory size exhausted

//increase WP Memory Limit    define('WP_MEMORY_LIMIT', '256M');

Put this code in wp-config.php file in File Manager. 

Place it right under the opening tags int he beginning. 

Re: Fatal error: Allowed memory size exhausted

I am using WIN-SCP will this work for me too? Which  control panel from the computer itself or the website? I know sounds like a stupid question but I've tried them both and I am a little confused still.