简体   繁体   中英

Getting an error 413 Request Entity Too Large while using a plugin Croppic

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.

You need to increase the LimitRequestBody directive. Example:

LimitRequestBody 0

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM