The online project has a large amount of data, and PHP suddenly reported such an error, "Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 32 bytes) ” It turns out that the memory used by php exceeds the maximum allowed memory set by the system.
Check the php memory limit value
Enter
<?php phpinfo(); ?>
is the memory value you set now, as shown below:
Modify the value of the memory_limit in php.ini. //blog.itechol.com/space-33-do-blog-id-6815.html
The above introduces the Allowed memory size of 134217728 bytes exhausted, including the relevant content. I hope it will be helpful to friends who are interested in PHP tutorials.