cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Go to solution
Highlighted
New

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

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Advocate I
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.

 

 

View solution in original post

48 REPLIES 48
Highlighted
Advocate I
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.

 

 

View solution in original post

Highlighted
New

Re: Fatal error: Allowed memory size exhausted

It works! Thank you so much!

Highlighted
Advocate I

Re: Fatal error: Allowed memory size exhausted

You are welcome

Highlighted

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

 

 

Highlighted

Re: Fatal error: Allowed memory size exhausted

Thanks!  Saved me countless, frustrating hours! 

Highlighted

Re: Fatal error: Allowed memory size exhausted

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

Highlighted

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!!!  

Highlighted

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?

Highlighted

Re: Fatal error: Allowed memory size exhausted

seems to have worked for me, thank you!

Highlighted
New

Re: Fatal error: Allowed memory size exhausted

Worked for me, thanks

Highlighted

Re: Fatal error: Allowed memory size exhausted

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

Highlighted

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?

 

Highlighted
New

Re: Fatal error: Allowed memory size exhausted

Works perfectly. Thanks so much for posting.

Highlighted

Re: Fatal error: Allowed memory size exhausted

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

Highlighted

Re: Fatal error: Allowed memory size exhausted

Thank you - it also worked for me!

Highlighted
New

Re: Fatal error: Allowed memory size exhausted

THANK YOU! YOU ROCK! This totally helped!

Highlighted
New

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. 

Highlighted
New

Re: Fatal error: Allowed memory size exhausted

Thank you. This worked for me.

 

Much appreciated.

Highlighted

Re: Fatal error: Allowed memory size exhausted

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

 

 

Highlighted

Re: Fatal error: Allowed memory size exhausted

thank you so much.

Highlighted

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.

Highlighted

Re: Fatal error: Allowed memory size exhausted

Thanks for this help. Just started to get worried.

Highlighted

Re: Fatal error: Allowed memory size exhausted

HASSAN You savior!! Thank you! it worked for me too 🙂 

Highlighted
New

Re: Fatal error: Allowed memory size exhausted

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

Highlighted

Re: Fatal error: Allowed memory size exhausted

thanks, it works .

Highlighted

Re: Fatal error: Allowed memory size exhausted

i my cpanel there are no php options

 

Highlighted

Re: Fatal error: Allowed memory size exhausted

You da man!

Highlighted

Re: Fatal error: Allowed memory size exhausted

Awesome solution - worked a treat. Thank you!

Highlighted

Re: Fatal error: Allowed memory size exhausted

Worked like a charm, m8! Cheers

Highlighted

Re: Fatal error: Allowed memory size exhausted

Thanks 

Highlighted

Re: Fatal error: Allowed memory size exhausted

Thank you sir!

Highlighted

Re: Fatal error: Allowed memory size exhausted

Thank you So much

Highlighted

Re: Fatal error: Allowed memory size exhausted

It worked for me, thank you!

Highlighted
New

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!

Highlighted

Re: Fatal error: Allowed memory size exhausted

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

Highlighted

Re: Fatal error: Allowed memory size exhausted

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

Highlighted

Re: Fatal error: Allowed memory size exhausted

Thank you so much to post this solution. 

 

Highlighted

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!!!

Highlighted

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

Highlighted
New

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

Highlighted

Re: Fatal error: Allowed memory size exhausted

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

Highlighted

Re: Fatal error: Allowed memory size exhausted

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

Highlighted
New

Re: Fatal error: Allowed memory size exhausted

Thanks for a simple solution

Highlighted
New

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. 

Highlighted

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.

Highlighted

Re: Fatal error: Allowed memory size exhausted

I did it and it worked. My site is now up and running again. 

 

You are amazing. 

 

Thank you 

Highlighted

Re: Fatal error: Allowed memory size exhausted

Thanks a million for this post. It saved me months of dealing with this headache. 

However, I wasn't getting in completely so I set it to php 7.0 and changed the defaults settings as suggested and everything works great now. 

Thanks again.

Highlighted

Re: Fatal error: Allowed memory size exhausted

Hallelujah!