I'm getting the following error and need a solution: Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 10368 bytes) in /home/html/cropper/class.cropcanvas.php on line 425 I have a script that crops images, but whenever the original file size is large, I get the above error and unable to crop the image, unless I manually resize the original image. I'm looking for a solution to this problem. I tried creating a php.ini file and adding the code below, but it didn't solve the problem: memory_limit=64M Code (markup): I'm using shared hosting with godaddy. Let me know what your fee would be to take care of this issue.
There is no way to correct the issue. This is a setting on the server's default php.ini file. You will need a VPS or Dedicated Server to continue without the errors. If you want to get a dedicated server or vps, let me know and I can work out a good deal with you.
It ain't too likely that you will find solution staying with GoDaddy but I think there are few things that you might try, message me if you want to give it a shot.
hey, godaddy sucks for shared hosting better learn that, and on the topic, try increasing your memory limit to 128 to 256 your script is dying becaused your php wont allowed to exceed to 64M
Thanks for the suggestions peeps. I think I'm going to go a different route on this one and install a resizer script to resize the large images, which should fix my issue. Btw, why so many Godaddy haters? Outside of them being strict about what you do with their servers, I haven't had any issues with them.. had them for years.
I could help you with a resizing class, with support for transparent images, I made it to allow big avatar uploads in my game.