Php QR code recognition report out of memory error

using the php QRreader library to identify QR codes in uploaded images often reports such errors

memory_limit 300M 1GB

200KB


if the picture is a pure QR code (the size is about 4KB), it can be parsed quickly

how to solve this problem


means that there is not enough memory, so increase the memory. There is another way to reduce the size of the uploaded image before identifying

.
Menu