I'm working on a script that resizes uploaded photos. I've got it working on a source JPEG that's 2400 x 2400 px, but it fails on one that's 2500 x 2500 px with the error "Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 10000 bytes) in [name of script]"
What's odd is that I had the hosting company increase PHP's "memory_limit" parameter to 64M - but the error suggests it's only set to 32M.
Is there another parameter I should have them increase? They have also set upload_max_filesize and post_max_size to 64M, but is there another parameter that might resolve this memory problem?
- Bob