Lance O. Posted November 2, 2016 Share Posted November 2, 2016 I've checked the forums for an answer that works, but I can't seem to find one. Sorry for having to post this question. Upon dragging and dropping an image into a file field in the PW admin, I receive a "Filesize 11594 kb is too big. Maximum allowed is 8192 kb." error. I've updated the PHP ini settings to the following, yet I'm still receiving the error: file_uploads = On max_execution_time = 120 max_input_time = 120 max_input_vars = 1000 memory_limit = 512M upload_max_filesize = 50M I'm using PW 3.0.33. What am I overlooking? Is there a PW config setting that I need to set? Link to comment Share on other sites More sharing options...
Robin S Posted November 2, 2016 Share Posted November 2, 2016 Could be you need to increase post_max_size 4 Link to comment Share on other sites More sharing options...
flydev Posted November 3, 2016 Share Posted November 3, 2016 Another little info : memory_limit must be > post_max_size to prevent poorly written scripts for eating up all available memory. And also the LimitRequestBody Apache's directive allows the user to set a limit on the allowed size of an HTTP request message body (set to 0 (illimited) by default). 3 Link to comment Share on other sites More sharing options...
horst Posted November 3, 2016 Share Posted November 3, 2016 and post_max_size should be > than upload_max_filesize add 10% - 20% for other postdata then uploaded files: post_max_size = (max_file_uploads * upload_max_filesize) * 1.15 4 Link to comment Share on other sites More sharing options...
Lance O. Posted November 3, 2016 Author Share Posted November 3, 2016 I'll try these suggestions. Thank you! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now