How to Fix Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 42 bytes)
How to Fix Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 42 bytes)
How to Fix Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 42 bytes)
By: Linux Admin Geek
A customer complaint about getting an error on their website:
Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to
allocate 42 bytes) in
/var/www/web1/web/forums/includes/adminfunctions_template.php on line
2214
Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to
allocate 16 bytes) in
/var/www/web1/web/forums/includes/class_core.php on line 2868
The Basics: Run a phpinfo file to display the configurations in the php.ini file.
look at where it says memory_limit - It will mostly like say 8MB which is the default.
Now edit your php.ini file to 20MB. Restart your httpd (apache) server.
If this doesn't work, you will have to edit your script ad put this code at the very top:
ini_set("memory_limit","20M");
Hope this helps
WARNING: Always make a backup of the php.ini file before you begin to do anytning like this
Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to
allocate 42 bytes) in
/var/www/web1/web/forums/includes/adminfunctions_template.php on line
2214
Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to
allocate 16 bytes) in
/var/www/web1/web/forums/includes/class_core.php on line 2868
The Basics: Run a phpinfo file to display the configurations in the php.ini file.
look at where it says memory_limit - It will mostly like say 8MB which is the default.
Now edit your php.ini file to 20MB. Restart your httpd (apache) server.
If this doesn't work, you will have to edit your script ad put this code at the very top:
ini_set("memory_limit","20M");
Hope this helps
WARNING: Always make a backup of the php.ini file before you begin to do anytning like this
Posted on: Jun 14, 2006
|
|
|
# 124662 Reply By alex On Tue Dec 29, 2009 5:33 am
<a href=" ezinearticles /?5-ways-to-fix-fatal-error-during- fatal error</a>
# 121506 Reply By Jeremy On Wed Nov 25, 2009 11:55 am
works like magic ;-)
# 106948 Reply By tinh_mgv On Sun Jun 21, 2009 3:41 pm
yeah! i got it! thanks a lot!
# 106387 Reply By merykha On Tue Jun 16, 2009 2:29 am
hi there please help me... i'm currently having a problem on my wordpress, i installed a bad plugin, bcause of temptations, now i'm having a fatal error, it says,
fatal error: class 'soapclient' not found in /usr/www/virtual/usdbet/anesthetic- /wp-content/plugins/nvoice/nvoice.c on line 16
how can i fix this?? i can't open a thing in my blogsites, full blank... please please help me email me at merykha at google . thanks.
fatal error: class 'soapclient' not found in /usr/www/virtual/usdbet/anesthetic- /wp-content/plugins/nvoice/nvoice.c on line 16
how can i fix this?? i can't open a thing in my blogsites, full blank... please please help me email me at merykha at google . thanks.
# 106386 Reply By merykha On Tue Jun 16, 2009 2:28 am
hi there please help me... i'm currently having a problem on my wordpress, i installed a bad plugin, bcause of temptations, now i'm having a fatal error, it says,
fatal error: class 'soapclient' not found in /usr/www/virtual/usdbet/anesthetic- /wp-content/plugins/nvoice/nvoice.c on line 16
how can i fix this?? i can't open a thing in my blogsites, full blank... please please help me email me at merykha at google . thanks.
fatal error: class 'soapclient' not found in /usr/www/virtual/usdbet/anesthetic- /wp-content/plugins/nvoice/nvoice.c on line 16
how can i fix this?? i can't open a thing in my blogsites, full blank... please please help me email me at merykha at google . thanks.
# 86789 Reply By Khoa On Fri Dec 19, 2008 10:42 am
thanks for your guide, very helpful