ServerTune

Browse by category

Search    |    Advanced search

Fatal error: Allowed memory size of 22468 bytes exhausted (tried to allocate 446810 bytes) in /path/file.php

By default, Php is configured to limit memory usage per process. To increase the default limit, SSH to the server and using your Linux text editor such as pico or vi, do the following:

Change the following directive from:

memory_limit = 8M ; Maximum amount of memory a script may consume (8MB)

to a higher value, such as 32M. Save, exit, and then restart apache:

 
 
Add comment
 
Views: 1152
 
Votes: 0
 
Comments: 0
 

Other articles in this Category

RSS