tsuyopon / webpagetest

Automatically exported from code.google.com/p/webpagetest
0 stars 0 forks source link

Add to the wiki: adjust upload_max_filesize #88

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
PHP's default is upload_max_filesize=2MB,
this causes failures to happen in the pcap2har.php script for example, when 
given a zipped pcap file of over 2MB.

I suggest you guys mention this setting in the wiki so people will know,
might save them some troubles with magical 400 bad request responses.

Change both "upload_max_filesize" and "post_max_size" in php.ini

Original issue reported on code.google.com by Haxorcize on 30 Apr 2012 at 10:24

GoogleCodeExporter commented 9 years ago
Here's a relevant line from /var/log/apache2/error.log:

[Mon Apr 30 10:18:14 2012] [error] [client 1.2.3.4] PHP Warning:  POST 
Content-Length of 22689689 bytes exceeds the limit of 8388608 bytes in Unknown 
on line 0

Original comment by Haxorcize on 30 Apr 2012 at 10:28

GoogleCodeExporter commented 9 years ago

Original comment by sker...@google.com on 30 Apr 2012 at 2:10

GoogleCodeExporter commented 9 years ago
Edited https://sites.google.com/a/webpagetest.org/docs/private-instances to 
documenrt this error and how to fix it.

Original comment by sker...@google.com on 30 Apr 2012 at 7:17