Article ID: 2522, created on Oct 29, 2007, last review on Apr 28, 2014

  • Applies to:
  • Pro Control Panel Linux


View Knowledge
Knowledge ID 1307
Product : WEBppliance for Linux
Version : 3.5.0
Topic : FAQ

Running a PHP Script returns memory exhausted error.

Running a PHP Script returns memory exhausted error.


The PHP Error Observed is similiar to

fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 5001 bytes)

This usually happens when the script that is running uses more memory than what is allowed.

You can try tweaking the settings in your php.ini file.
Under Resource limits, check and increase the memory_limit option.


For Low Security and 3.1 Compatibility mode sites, use the main /etc/php.ini
(You will need to restart apache after this change)

For High Security sites use the domain's php.ini at


Related Knowledge

Related Links
Last ModifiedUsageSatisfiedLast Used
8/20/2004 12:56:28 PM43 10/11/2007 6:38:41 AM

4cc899da08664637a8bc437308d3ddd7 3ccb419cf98083f3bb45808fba8dbc7c 6311ae17c1ee52b36e68aaf4ad066387

Email subscription for changes to this article
Save as PDF