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).

Was dit antwoord nuttig?

 Print dit artikel

Lees ook

Optimal PHP settings for shared and reseller hosting.

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

How to setup custom php.ini file?

What is php.ini?PHP.ini is very important configuration file for PHP that is used to customize...

My PHP program tells me it can't access the database and gives an error message ?

MySQL - When you create a new database you have to specify a database name. Then you create a...

Can you disable or turn off php Safe Mode?

No, we cannot disable php safe mode. All our servers have php safe mode enabled due to security...

Can't install another script in root directory? Why?

When using fantastico you cannot install more than one script in the root directory. If you...