Solution: #jQuery image upload resize is not working due to memory_limit in #PHP

July 3, 2014 ‚óŹ 896 views

Just a quick note to all tech members here. For some reason, file image upload was not working. It took me hours trying to figure out what happened.

This happened after I migrated to a new server with a new version of PHP 5.4.x. So I'm sure it has something to do with PHP.

After debugging and not finding anything, I compared my php.ini values from my old server to the new server. And viola! it's memory_limit.

I have to increase the memory_limit from the default 32M. Depending on your syste requirement, you can set it higher or set it to -1 which is no limit.


Our Terms of Use and Privacy Policy have changed.
By continuing to use this site, you are agreeing to the new Privacy Policy and Terms of Service.