How to increase file upload size in the apache

1) Login to your Cloudjiffy account

2) Create an environment with apache

3)Once the environment is created go to the configuration manager.

Open the file "/etc/php.ini" and Increase the file upload size limit in the "Data handling" block at the line "post_max_size =" and save the file.

4)Now open the file "/etc/httpd/conf/httpd.conf" and remove(comment it out) the "; Jelastic autoconfiguration mark" from the top of the line.

Now edit the value (in bytes)  of the "LimitRequestBody" in this file and save the file.

5)Restart the httpd service and now you will be able to upload the file of the desired size.

 


Was this article helpful?

mood_bad Dislike 0
mood Like 0
visibility Views: 556