“Allowed memory size of 134217728 bytes exhausted”
Today ,my server display this error info .My solution like this:
1.Because the default memory limit for PHP is 128M, you need to modify the php.ini file.
2.Find the line memory_limit = 128M and make 128M bigger. I change it directly to 2048M.
3.Restart the server and restart the Apache server by sudo/usr/sbin/apachectl restart. Of course, it is possible to use the terminal to execute PHP without restarting the server.
- Restart PHP successfully, it will be OK