Fatal PHP Memory Limit Error

Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 30720 bytes) in somefile.php

Fatal Error: PHP Allowed Memory Size Exhausted

The error normally occurs when PHP tries to process a big database records or when importing or exporting.

To fix the problem, please modify the memory_limit line in php.ini to match this example:

memory_limit = 64M

We do set the maximum memory limit at 64 MB (67108864 bytes).

Hai trovato utile questa risposta?

 Stampa Articolo

Leggi anche

How do I connect to MySQL through PHP?

Use the following outline to connect and begin querying the MySQL server from within your PHP...

Optimizing Wordpress on Shared Hosting

Wordpress blogs can be extremely resource intensive if you happen to experience a surge in...

HTTP Error 500 - Internal server error

If you installed a new script and are getting the 500 error trying to load the page please see...

What is suPHP ?

What is suPHP? (su = switch user, allowing one user to "switch" to another if authorised) The...

Optimal PHP settings for shared and reseller hosting.

Note: We can't change following PHP settings. PHP has been configured to use the following...