Hello All!
In case anyone ever runs into this issue – I spent 6 hours and used 500GB of bandwith today trying to resolve it and finally finally finally got it because of a literal afterthought ChatGPT had
Using Laragon to run a local environment of a WP/Woo site.
Copied/migrated the website out of client’s account with All in One Migration, installed Laragon, got a blank site running, installed AIO Migration tool, went to import the exported website and…
413 Request Entity Too Large
Followed literally every single guide/reddit post to the T, *nothing* worked.
Nothing as in:
* max\_execution\_time = 36000
* max\_input\_time = 36000
* memory\_limit = 4000M
* post\_max\_size = 4000M
* upload\_max\_filesize = 4000M
In php.ini did fuck all (including every other php.ini file I could find)
* php\_value upload\_max\_filesize 4000M
* php\_value post\_max\_size 4000M
* php\_value memory\_limit 4000M
* php\_value max\_execution\_time 36000
* php\_value max\_input\_time 36000
In .htaccess did fuck all
Installing different versions of apache/PHP did fuck all
Set client\_max\_body\_size 4000M; under http {} in nginx.conf – you guessed it, did fuck all
Downloading the WP Code plugin and setting the php.ini values from there, …. nope
Using the Laragon GUI quick settings to change the php.ini values ——- nope
Eventually tried (disclaimer, all of the settings above still active when this worked, so who knows which one, or maybe all, fixed it):
1. Set up nginx reverse proxy with the already running apache server (chatgpt will help u do this in a second just drop the relevant files into 4o)
2. \*\*\*\*\*\*\*\*\*\*\*Set LimitRequestBody 8589934592 in httpd.conf\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*
I was actually on the verge of tears and after 6 hours of conversing with Chat, it literally shat out this last piece of code literally as an afterthought. Boom bang done, site migrated.
[ad_2]