So I recently tried to increase my file size upload limits via phprc.
I first upgraded to PHP 7.1 FastCGI (it was 5.6 before). Then I created the phprc and added:
upload_max_filesize = 200M
post_max_size = 205M
max_execution_time = 500
max_input_time = 500
I’d actually like to make it more like 1000M/1005M/2000/2000 (would that work too?), but since I was having problems with that, reduced it.
Killed all PHP processes.
The new limits reflect in the Wordpress media uploader.
The problem is that when I try to upload my 160 MB file, I get an immediate HTTP 413 error: Request entity too large
Despite multiple attempts, in my ~/logs/domain/http/error.log, all I find is this one line:
[Sat Oct 07 07:56:52 2017] [error] [client 220.127.116.11] Premature end of script headers: admin-ajax.php, referer: http://www.siftingtothetruth.com/wp-admin/post-new.php
Any ideas what’s going on?