Fix 413 Request Entity Too Large in MaMP in 2 Minutes

Video for who doesn’t like to read ;). And if you like the video then subscribe my channel and share this with others who has the same issue.

When I was working on the local development, I had an issue as shown in this post image.

When I tried to import a database from PHPMyAdmin, I was having the error “413 Request Entity Too Large“.

After searching a bit on the internet, I found a very simple solution. It would take only a couple of minutes.

So as this is nginx related error, open your Nginx config file. In my case, I was using MaMP. So my nginx.conf file was at this location:

/Applications/MAMP/conf/nginx/nginx.conf

Open the file and add the following lines into http { } section as shown in below image:

client_max_body_size     1000M;
fastcgi_read_timeout     3600;

11

After adding that line, try to restart Nginx.

In my case, I had a button to restart the server in MaMP. You might run the command like service nginx restart

Related Articles

Fix 404 error on nginx

Sometimes you get unexpected 404 error from Nginx server. And I am going to tell you how I fixed the issue. You can fix that…

Fix – ERROR 2006 (HY000) while importing database in MySQL

While importing big database in MySQL, you might get the error as shown below: ERROR 2006 (HY000) at line 3387 in file: ‘path_to_the_db_dump.sql’: MySQL server…

Import large DB in MySQL using command in MAMP

Sometimes using phpmyadmin, it’s kind of impossible to import DB from the import section. So below is the command to import large DB into MySQL.…

Fix Node Sass does not yet support your current environment on macOS

Video for who doesn’t like to read ;). And if you like the video then subscribe my channel and share this with others who has…

Install wp-cli on windows

WP-CLI is a set of command-line tools for managing WordPress installations. You can update plugins, configure multisite installs and much more, without using a web browser.

So I am going to tell you short, simple and easy way that how to use wp-cli on windows system.

Responses

Leave a Reply