Michael Lenaghan Posted May 1, 2014 Share Posted May 1, 2014 I'm converting a Drupal site that has many mp3 files. Two of those files are a bit large; one is ~48MB and the other is ~88MB. At first they wouldn't upload at all; ProcessWire said that they were larger than the 40MB upload limit. I changed two entries in php.ini: post_max_size = 100M upload_max_filesize = 100M After that ProcessWire seemed to upload the files--but after uploading they always disappear. In other words, I drag the files, I see the upload progress bar, the upload completes (i.e., hits 100%), I hit Save--and the files disappear from the list. What am I missing? Link to comment Share on other sites More sharing options...
apeisa Posted May 1, 2014 Share Posted May 1, 2014 https://processwire.com/talk/topic/2194-flie-upload-max-file-size/ Link to comment Share on other sites More sharing options...
Michael Lenaghan Posted May 2, 2014 Author Share Posted May 2, 2014 Thanks. And sorry; I should have done a better job of searching. Increasing memory_limit to 256M allowed me to add the ~48MB file. Increasing it to 384MB allowed me to add the ~88MB file. For posterity: When the limit was 128M there were errors in the Apache error log. When it was 256M there were no errors, but the ~88MB file didn't quite finish uploading. Link to comment Share on other sites More sharing options...
Pete Posted May 2, 2014 Share Posted May 2, 2014 To be honest this is the same thing I've tripped up on recently so it happens to us all Link to comment Share on other sites More sharing options...
titanium Posted May 2, 2014 Share Posted May 2, 2014 If you're running PHP as a FCGI module, you have also to increase "FcgidMaxRequestLen" in Apache config. For example: <IfModule mod_fcgid.c> FcgidMaxRequestLen 524288000 </IfModule> 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