Fatal error: Allowed memory size of 123456 bytes exhausted (tried to allocate 234567 bytes) in /path/file.php
by admin on Apr.18, 2011, under DirectAdmin
Php is setup is to limit memory usage per process. If you require more, this limit can be increased.
Edit
/usr/local/lib/php.ini
and set:
memory_limit = 8M ; Maximum amount of memory a script may consume (8MB)
to a higher value, like 20M. Save, exit, then restart apache.
Incoming search terms:
allowed memory apache,directadmin Allowed memory size of,error 123456,fatal error upload allowed memory size php post,fatal error: allowed memory size of,php 123456Related posts:
- Increase the max upload filesize in apache/php edit: /usr/local/lib/php.ini Search for ; Maximum allowed size for uploaded...
- cgi files generate Internal Server Error This means that the cgi script did not execute properly....
- Apache won’t start after update on FreeBSD An issue with php/apache is causing apache not to start...
- Updating Apache to the latest version You can check the current version of apache by running...
- Apache won’t start and there is nothing in the logs Chance are, if apache isn’t starting and isn’t logging anything,...
Related posts brought to you by Yet Another Related Posts Plugin.
