I have a bunch of client point of sale (POS) systems that periodically send new sales data to one centralized database, which stores the data into one big database for repor
I kept getting this error, even with memory_limit set in php.ini, and the value reading out correctly with phpinfo().
memory_limit
php.ini
phpinfo()
By changing it from this:
memory_limit=4G
To this:
memory_limit=4096M
This rectified the problem in PHP 7.