I'm trying to upload and resize JPG photos. Once the photo is uploaded I resize it but get the following error:
Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 15104 bytes)
Configuration (php.ini
):
memory_limit = 64M
PHP :
ini_set("memory_limit", "64M");
What am I doing wrong?
Let's do the conversion:
Conclusion:
64M
is not enough.