dbos1504's avatar

Intervention image problem

Hello,

My problem is when i upload image 3000x3000 (i resize it to 1100x600) it works but when i try to upload 4500x4500 (i resize it to 1100x600) nothing happens, no response,only response is 500 and that is it, image is not uploaded, limit an upload size is set to 512MB in php ini

0 likes
4 replies
Tray2's avatar

500 means that something went wrong.

If one image size works and not another it sounds to me that there might be a limitation of either the file size or the memory available for php.

Check these values in you php.ini

  • upload_max_filesize The maximum allowed upload file size.
  • post_max_size The maximum allowed POST data size.
  • max_input_time Maximum allowed input time.
  • max_execution_time The maximum allowed time the scripts are allowed to run.
1 like
dbos1504's avatar

You are right i am getting: Allowed memory size of 134217728 bytes exhausted (tried to allocate 20480 bytes)

dbos1504's avatar

Can you explain more please, my image is 5mb but 4500x4500

Please or to participate in this conversation.