Support Tickets: Request Entity Too Large when uploading files


When uploading files using drag'n'drop feature in ticketing system you may encounter Request Entity Too Large error.

This may be caused by various reasons, you may want to check and update (paths may differ for your deployment):

php.ini settings

File: /etc/php.ini

directives to update:

  • post_max_size
  • upload_max_filesize

ensure that you've restarted php-fpm after php.ini update:

systemctl restart php-fpm

nginx settings

In your nginx configuration you may want to locate or add client_max_body_size directive, ie in:

File: /etc/nginx/locations/hostbill.conf

Add line:

client_max_body_size 10M;


Ensure to reload/restart nginx to apply new settings:

systemctl reload nginx