PHP Tip: Fatal error:allowed memory size of
"Fatal error:allowed memory size of 8388608 bytes exhausted (tried to allocate 775920 bytes)" Error, first check if your PHP program has a dead loop 。
Solution (three types):
First, modify the php.ini (recommended)
Memory_limit = 12M
Second, add the following statement inside the program
Ini_set (' Memory_limit ', ' 12M ');
Third, in the root directory to establish
. htaccess file, add the following
Php_value Memory_limit 12M
If it can't be solved, make it bigger.
The last note is to restart the server.
http://www.bkjia.com/PHPjc/951490.html www.bkjia.com true http://www.bkjia.com/PHPjc/951490.html techarticle php Tip: Fatal error:allowed memory size of appearance Fatal error:allowed memory size of 8388608 bytes exhausted (tried to Allo Cate 775920 bytes) This error, first check your ...