0

I am using a jquery plugin CROPPIC to my web application to crop and compress the pictures before uploading them to database.
While I am using it I am able to crop and upload the picture size below 1MB but size above 1MB gives me an error in the console panel which is 413 Request Entity Too Large.
Form more information I am working in PHP language. When I searched about the issue I came across various solutions like put some of the codes to my php.ini file.

max_input_time = 24000
max_execution_time = 24000
upload_max_filesize = 12000M
post_max_size = 24000M
memory_limit = 120000M
client_max_body_size 24000M
max_file_uploads = 20
php_value
post_max_size 104857600

But all of these things are not working. If you like you can have a look to my project at http://www.bookiiee.com/ad_post.php and can ask more. Please help me out of this. I am working on the same issue for more than 2 days.

Jai
  • 74,255
  • 12
  • 74
  • 103

1 Answers1

0

You need to increase the LimitRequestBody directive. Example:

LimitRequestBody 0
Federkun
  • 36,084
  • 8
  • 78
  • 90