Fatal error: Allowed memory size of 67108864 bytes exhausted, WordPress

“Fatal error: Allowed memory size of 67108864 bytes exhausted, WordPress

Date of issue:  February, 2017.

While working on my WordPress site and after adding a plugin I experienced this “Fatal error”.  Called my hosting server, Godaddy, and this is how we fixed the issue.   Basically it’s not enough PHP memory.

When possible I Like to share possible fixes to help others.  As I’m sure there are other experiencing the same problem.

Log into your account / manage your hosting / select the site you wish to manage (if you have more than one)

Once in C-Panel look for Software then locate and click on “Select PHP version”

select PHP version

select PHP version

 

If your version is not 5.6, then select it, click set as current, and save.  Then, at the top right of the same page click the switch to PHP options.

 

 

Set:   max_execution_time to 300,  memory_limit to 256M,  and upload_max_filesize to 64M.   Save.   This will correct the fatal error: allowed memory size.

Select PHP version settings

Select PHP version settings

This fixed the issues I was having and I know have enough memory to run plugins like woocommerce.  Some plugins require more memory than others and tend to create issues.

Comments are closed.