add this to end of the .htaccess file in public path
xxxxxxxxxx
php_value upload_max_filesize 64M
php_value post_max_size 64M
php_value max_execution_time 300
php_value max_input_time 300
xxxxxxxxxx
# Locate the server block in your configuration file
server {
# Other server directives...
# Increase the maximum request size
client_max_body_size 20M;
}