I’m hosting the API for an app on Apache2/Ubuntu 14.04. Users of the app should be able to upload image but there is something in the server configuration prohibiting. I checked the upload_max_file_size in php.ini and it should be just fine for the photo I am trying to upload. The error I am getting within the app is “chunk size is larger than 512 kb”. I tried adding “LimitRequestBody 0” to the apache configuration file but still does not work. Where possible could there be another limitation for users uploading?
I checked permissions on the folder and they were set to 775. I changed and tried 755 - still nothing. Please help!!
I know this is a server issue because the application works fine on our old godaddy server.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Click below to sign up and get $100 of credit to try our products over 60 days!