How can I limit my php memory?

How can I limit my php memory?

php. ini

  1. Locate the php. ini file used by your web server. You can click the “more information” link on Drupal’s status page’s PHP section.
  2. Edit the memory_limit parameter in the php. ini file (usually in a section called Resource Limits). Make sure you use M to specify the number of megabytes (not MB ).
  3. Restart Apache.

What should PHP memory limit be?

128 MB
You should set your PHP memory limit as low as you can while still allowing your site to function normally. 128 MB is a good baseline. That’s a decent amount of memory that will take care of most intensive plugins.

How to fix PHP fatal error ” allowed memory size of bytes exhausted “?

Adjusting this value will satisfy the memory requirements of popular plugins like WooCommerce, WPML, Multisite and site builders. This prevents your site or admin dashboard from displaying the Fatal error: Allowed memory size of XXXXXXXX bytes exhausted (tried to allocate XXXX bytes) error message.

What’s the maximum memory size for PhpMyAdmin?

So, I clean the cache table via phpmyadmin, try to go back to the site, and get another error: Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 77824 bytes) in /home/mythus/mysite.com/profiles/standard/standard.install on line 265

What is the fatal error for memory exhaustion?

Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 77824 bytes) in …. So today I go to log into my site to do some work and respond to posts and what not and I get the dreaded White Screen of Death. Taking a deep breath, I enable error reporting and quickly learn that cache is causing a memory exhaustion error.

What’s the maximum memory size allowed in Mythus?

Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 77824 bytes) in /home/mythus/mysite.com/profiles/standard/standard.install on line 265 Google has failed me here, so I come to you guys for help.